{"name":"trash-cli","version":"7.1.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.1.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":"f04139c5abb2b17ae47fdad1d3b7982b6c5833a5","tarball":"http://registry-npm.ywwl.com/trash-cli/download/trash-cli-7.1.0.tgz","fileCount":4,"integrity":"sha512-qqKMj9qyE2cJRPRIGW1QPR+Yr7l+McpjC7r24H64r0x9EPMh9WCoz/n9IH6z48P4xHJBttRvEnAmBu6IJNs6fA==","signatures":[{"sig":"MEUCICXdFO3tI2AllynuW1cuuP3xMbemkT4CY95tO0EfKGqkAiEAijMPGLNsPzfFCDpIFlVqHG4+lVIVI6OO/fd5lF0OTik=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4271,"size":2248,"noattachment":false,"key":"/trash-cli/-/trash-cli-7.1.0.tgz"},"type":"module","engines":{"node":">=20"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"946900e73fd525b3e8b97011270ff25026f13fc7","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.7.0","description":"Move files and folders to the trash","directories":{},"_nodeVersion":"25.3.0","dependencies":{"meow":"^14.0.0","trash":"^10.1.0","globby":"^14.1.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^1.2.3","ava":"^6.4.1","execa":"^9.6.1","temp-write":"^6.0.1","path-exists":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/trash-cli_7.1.0_1769342317137_0.8975602182890818","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":1769342317267,"_cnpm_publish_time":1769342317267,"dist-tags":{"latest":"7.2.0"}}