{"name":"trash-cli","version":"6.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@6.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":"77576f0703fb7c7aaa67824886ea51fd1ed16c0c","tarball":"http://registry-npm.ywwl.com/trash-cli/download/trash-cli-6.0.0.tgz","fileCount":4,"integrity":"sha512-O97EQwg5kHd18GvV6BnMvAlfsMsZC+mhQZH04HFalB5U9hgFDjcLQXALZ62cf4c+jKB2F3pAhQQTkUoiURGCqg==","signatures":[{"sig":"MEYCIQCZAblbGYYfhu8VKeGGD1hmKPcAQ7VmipteKKTeCTyT4QIhALLh/aRp2zo9d7lKX9IbQbB5sJ9hywSKMNOcpbjAjmjL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3924,"size":2138,"noattachment":false,"key":"/trash-cli/-/trash-cli-6.0.0.tgz"},"type":"module","engines":{"node":">=18"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"e4b10775b28ed9378a7abe88341dc5f1f306f31d","scripts":{"test":"xo && ava"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/trash-cli.git","type":"git"},"_npmVersion":"10.6.0","description":"Move files and folders to the trash","directories":{},"_nodeVersion":"18.20.2","dependencies":{"meow":"^13.2.0","trash":"^9.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.59.2","ava":"^6.1.3","execa":"^9.3.0","temp-write":"^5.0.0","path-exists":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trash-cli_6.0.0_1721996657001_0.5554466759684646","host":"s3://npm-registry-packages"},"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":1721996657137,"_cnpm_publish_time":1721996657137,"dist-tags":{"latest":"7.2.0"}}