{"id":13558872,"url":"https://github.com/busterc/xcv","last_synced_at":"2025-07-25T13:32:35.445Z","repository":{"id":25269992,"uuid":"28695444","full_name":"busterc/xcv","owner":"busterc","description":":scissors: Cut, Copy and Paste files with Bash","archived":false,"fork":false,"pushed_at":"2016-01-25T22:15:33.000Z","size":5,"stargazers_count":147,"open_issues_count":2,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-23T16:23:49.089Z","etag":null,"topics":["bash","cli","clipboard","copy","copy-paste","cut","directories","files","filesystem","glob","globbing","paste","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/busterc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-01T20:56:08.000Z","updated_at":"2024-09-16T05:30:11.000Z","dependencies_parsed_at":"2022-07-24T05:01:53.527Z","dependency_job_id":null,"html_url":"https://github.com/busterc/xcv","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busterc%2Fxcv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busterc%2Fxcv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busterc%2Fxcv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busterc%2Fxcv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/busterc","download_url":"https://codeload.github.com/busterc/xcv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250468570,"owners_count":21435509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","cli","clipboard","copy","copy-paste","cut","directories","files","filesystem","glob","globbing","paste","shell"],"created_at":"2024-08-01T12:05:12.403Z","updated_at":"2025-04-23T16:24:04.392Z","avatar_url":"https://github.com/busterc.png","language":"Shell","readme":"# xcv\n\nCut, Copy and Paste files with Bash\n\n```sh\n$ xcv\nUsage: $ xcv \u003cx|c|v|l\u003e [options]\n\n  Description:\n    xcv wraps the cp, mv and ls built in commands, however\n    cutting (x) and copying (c) do not require a target directory, while\n    pasting (v) and listing (l) do not require a source directory, because all selected\n    files are placed into, listed and pulled from:\n    $HOME/.xcv\n\n  Options:\n    x  Cut files, using the mv command options\n    c  Copy files, using the cp command options\n    v  Paste files into the current working directory\n    l  List files available for pasting, using the ls command options\n```\n\n## Homebrew Installation\n\n```sh\n$ brew install xcv\n```\n\n## Bpkg Installation\n\nWith [bpkg](https://github.com/bpkg/bpkg) do:\n\n```sh\n$ bpkg install busterc/xcv\n```\n\n## NPM Installation\n\n```sh\n$ npm install xcv --global\n```\n\n## Nifty Aliases\n\n```sh\nalias fsx=\"xcv x\"\nalias fsc=\"xcv c\"\nalias fsv=\"xcv v\"\nalias fsl=\"xcv l\"\n```\n\n## Walkthrough Example\n\n1. Start with a directory of files\n\n  ```sh\n  $ find .\n  ./a.txt\n  ./b.txt\n  ./c\n  ./c/d.txt\n  ```\n\n1. Then, **copy** all the files recursively\n\n  ```sh\n  $ xcv c -R .\n  ```\n\n1. Then, **list** the _copied_ files\n\n  ```sh\n  $ xcv l\n  a.txt  b.txt  c\n  ```\n\n1. Then, change directories and **paste** in the _copied_ files\n\n  ```sh\n  $ cd ~/elsewhere\n  $ xcv v\n  ```\n\n1. Then, list the _pasted_ files in the CWD, along with any pre-existing files\n\n  ```sh\n  $ ls\n  a.txt  b.txt  c    x.txt\n  ```\n\n1. Then, **cut** all the files in the CWD\n\n  ```sh\n  $ xcv x *\n  ```\n\n1. Then, notice all the files have been _cut_ out\n\n  ```sh\n  $ ls\n  ```\n\n1. Then, change directories and **paste** in the _cut_ files\n\n  ```sh\n  $ cd ~/somewhere\n  $ xcv v\n  ```\n\n1. Then, list the _pasted_ files in the CWD, along with any pre-existing files\n\n  ```sh\n  $ ls\n  a.txt  b.txt  c    x.txt  y.txt\n  ```\n\n## License\n\nISC License (ISC)\n\nCopyright \u0026copy; 2015, Buster Collings\n\nPermission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n","funding_links":[],"categories":["Shell","cli"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbusterc%2Fxcv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbusterc%2Fxcv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbusterc%2Fxcv/lists"}