{"name":"trash-cli","version":"7.0.0","keywords":["cli-app","cli","trash","recycle","bin","rm","rmrf","rimraf","remove","delete","del","file","files","directory","directories","folder","folders","xdg"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"trash-cli@7.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/trash-cli#readme","bugs":{"url":"https://github.com/sindresorhus/trash-cli/issues"},"bin":{"trash":"cli.js"},"dist":{"shasum":"201cb35c4e4fd88f4bf82906859dd42a2f073240","tarball":"http://registry-npm.ywwl.com/trash-cli/download/trash-cli-7.0.0.tgz","fileCount":4,"integrity":"sha512-hUtYFzXFjWAvUYHWWG43r7ps04gGEoVaUFp4YpKzsjavSvMazEIL1e9Dq4XoryI0vWnaMEzmy9s5WUTq19nCHQ==","signatures":[{"sig":"MEYCIQDcgKTSuogifMEJOJqaO5iWzZoyJBAkFdE4b58q4CY46AIhALgrmmm5JTpPMNqwar5hkI22Rw+2AZTux+uqi5mD9vUS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3924,"size":2135,"noattachment":false,"key":"/trash-cli/-/trash-cli-7.0.0.tgz"},"type":"module","engines":{"node":">=20"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"ed7bda5d107b62c7d47c64e4f466b5b99b93ab85","scripts":{"test":"xo && ava"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/trash-cli.git","type":"git"},"_npmVersion":"11.6.1","description":"Move files and folders to the trash","directories":{},"_nodeVersion":"20.19.5","dependencies":{"meow":"^14.0.0","trash":"^10.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^1.2.3","ava":"^6.4.1","execa":"^9.6.0","temp-write":"^6.0.0","path-exists":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trash-cli_7.0.0_1760059869052_0.1104592074644204","host":"s3://npm-registry-packages-npm-production"},"readme":"# trash-cli\n\n> Move files and folders to the trash\n\nWorks on macOS (10.12+), Linux, and Windows (8+).\n\nIn contrast to [`rm`](http://en.wikipedia.org/wiki/Rm_(Unix)) which is [dangerous](http://docstore.mik.ua/orelly/unix3/upt/ch14_03.htm) and permanently deletes files, this only moves them to the trash, which is much safer and reversible. I would also recommend reading my guide on [safeguarding `rm`](https://github.com/sindresorhus/guides/blob/main/how-not-to-rm-yourself.md#safeguard-rm).\n\nAccepts paths and [glob patterns](https://github.com/sindresorhus/globby#globbing-patterns).\n\n## Install\n\n```sh\nnpm install --global trash-cli\n```\n\n## Usage\n\n```\n$ trash --help\n\n  Usage\n    $ trash <path|glob> […]\n\n  Options\n    --dot          Match dotfiles when using glob patterns (remember to quote the glob)\n    --verbose, -v  Print trashed items\n\n  Examples\n    $ trash unicorn.png rainbow.png\n    $ trash '*.png' '!unicorn.png'\n```\n\n## Tip\n\nAdd `alias rm=trash` to your `.zshrc`/`.bashrc` to reduce typing & safely trash files: `$ rm unicorn.png`.\n\n## [FAQ](https://github.com/sindresorhus/trash#faq)\n\n## Related\n\n- [trash](https://github.com/sindresorhus/trash) - API for this package\n- [empty-trash-cli](https://github.com/sindresorhus/empty-trash-cli) - Empty the trash\n- [del-cli](https://github.com/sindresorhus/del-cli) - Delete files and folders\n","publish_time":1760059869262,"_cnpm_publish_time":1760059869262,"dist-tags":{"latest":"7.2.0"}}