{"_id":"trash-cli","_rev":"1643517","name":"trash-cli","description":"Move files and folders to the trash","dist-tags":{"latest":"5.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2021-11-21T13:11:03.000Z","created":"2015-10-13T07:29:21.408Z","5.0.0":"2021-11-21T13:07:15.676Z","4.0.0":"2020-11-20T12:54:03.959Z","3.1.0":"2020-08-04T16:54:16.865Z","3.0.0":"2019-05-29T13:26:45.996Z","2.0.0":"2019-04-18T02:57:31.204Z","1.4.0":"2016-09-23T05:56:03.423Z","1.3.0":"2016-04-08T09:37:53.870Z","1.2.1":"2016-02-23T00:36:36.746Z","1.2.0":"2015-11-04T07:18:12.195Z","1.1.0":"2015-10-14T06:45:47.355Z","1.0.0":"2015-10-13T07:29:21.408Z"},"users":{"despairblue":true,"rwhogg":true,"davidnyhuis":true,"faraoman":true,"floriannagel":true,"newswim":true,"mhaidarh":true,"abhisekp":true,"danielbayley":true,"geduardcatalin":true,"rbecheras":true,"jamesbedont":true,"yehudag":true,"jmsherry":true,"jackmerrell":true,"gavinengel":true,"pwn":true,"benigro":true,"edm00se":true,"zuojiang":true,"buster":true,"mattattaque":true,"taqwa":true,"gpmetheny":true,"tg-z":true,"jimbrig2011":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/trash-cli.git"},"versions":{"5.0.0":{"name":"trash-cli","version":"5.0.0","description":"Move files and folders to the trash","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/trash-cli.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","bin":{"trash":"cli.js"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava"},"keywords":["cli-app","cli","trash","recycle","bin","rm","rmrf","rimraf","remove","delete","del","file","files","directory","directories","folder","folders","xdg"],"dependencies":{"meow":"^10.1.2","trash":"^8.0.0"},"devDependencies":{"ava":"^3.15.0","execa":"^6.0.0","path-exists":"^5.0.0","temp-write":"^5.0.0","xo":"^0.46.4"},"gitHead":"3a65f008831f8c37c3923229c01fbb72ba355e61","bugs":{"url":"https://github.com/sindresorhus/trash-cli/issues"},"homepage":"https://github.com/sindresorhus/trash-cli#readme","_id":"trash-cli@5.0.0","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"144e6405b54212641c811f877e647ec0eed27c26","size":2234,"noattachment":false,"key":"/trash-cli/-/trash-cli-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/trash-cli/download/trash-cli-5.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trash-cli_5.0.0_1637500035557_0.6486983672242161"},"_hasShrinkwrap":false,"publish_time":1637500035676,"_cnpm_publish_time":1637500035676},"4.0.0":{"name":"trash-cli","version":"4.0.0","description":"Move files and folders to the trash","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/trash-cli.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bin":{"trash":"cli.js"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava"},"keywords":["cli-app","cli","trash","recycle","bin","rm","rmrf","rimraf","remove","delete","del","file","files","directory","directories","folder","folders","xdg"],"dependencies":{"meow":"^8.0.0","trash":"^7.0.0"},"devDependencies":{"ava":"^2.4.0","execa":"^4.1.0","path-exists":"^4.0.0","temp-write":"^4.0.0","xo":"^0.35.0"},"gitHead":"28f22d28fb1e1f77cfb1f776d96c60d794a64ff8","bugs":{"url":"https://github.com/sindresorhus/trash-cli/issues"},"homepage":"https://github.com/sindresorhus/trash-cli#readme","_id":"trash-cli@4.0.0","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"eba6ce57a4019f90c316a9fd51860ba144a3ed21","size":2254,"noattachment":false,"key":"/trash-cli/-/trash-cli-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/trash-cli/download/trash-cli-4.0.0.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trash-cli_4.0.0_1605876843801_0.8169812729445374"},"_hasShrinkwrap":false,"publish_time":1605876843959,"_cnpm_publish_time":1605876843959},"3.1.0":{"name":"trash-cli","version":"3.1.0","description":"Move files and folders to the trash","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/trash-cli.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bin":{"trash":"cli.js"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava"},"keywords":["cli-app","cli","trash","recycle","bin","rm","rmrf","rimraf","remove","delete","del","file","files","directory","directories","folder","folders","xdg"],"dependencies":{"meow":"^3.7.0","trash":"^6.0.0"},"devDependencies":{"ava":"^1.4.1","execa":"^1.0.0","path-exists":"^4.0.0","temp-write":"^4.0.0","xo":"^0.24.0"},"gitHead":"5a88c3b8ca395b2213ed493398e1804b0c46b2a9","bugs":{"url":"https://github.com/sindresorhus/trash-cli/issues"},"homepage":"https://github.com/sindresorhus/trash-cli#readme","_id":"trash-cli@3.1.0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"d250d2f7438b50e696302bb9a4ddcf91db7a6f7e","size":2197,"noattachment":false,"key":"/trash-cli/-/trash-cli-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/trash-cli/download/trash-cli-3.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trash-cli_3.1.0_1596560056678_0.539651257787116"},"_hasShrinkwrap":false,"publish_time":1596560056865,"_cnpm_publish_time":1596560056865},"3.0.0":{"name":"trash-cli","version":"3.0.0","description":"Move files and folders to the trash","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/trash-cli.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"trash":"cli.js"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava"},"keywords":["cli-app","cli","trash","recycle","bin","rm","rmrf","rimraf","remove","delete","del","file","files","directory","directories","folder","folders","xdg"],"dependencies":{"meow":"^3.7.0","trash":"^6.0.0","update-notifier":"^3.0.0"},"devDependencies":{"ava":"^1.4.1","execa":"^1.0.0","path-exists":"^4.0.0","temp-write":"^4.0.0","xo":"^0.24.0"},"gitHead":"a76d9ce74e37034842efc30f9d581130aceabab2","bugs":{"url":"https://github.com/sindresorhus/trash-cli/issues"},"homepage":"https://github.com/sindresorhus/trash-cli#readme","_id":"trash-cli@3.0.0","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"6a0deb41e45f7cfe3aa18437d5d60d632fa26d4f","size":2214,"noattachment":false,"key":"/trash-cli/-/trash-cli-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/trash-cli/download/trash-cli-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trash-cli_3.0.0_1559136405914_0.29617010770353436"},"_hasShrinkwrap":false,"publish_time":1559136405996,"_cnpm_publish_time":1559136405996},"2.0.0":{"name":"trash-cli","version":"2.0.0","description":"Move files and folders to the trash","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/trash-cli.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"trash":"cli.js"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava"},"keywords":["cli-app","cli","trash","recycle","bin","rm","rmrf","rimraf","remove","delete","del","file","files","dir","directory","directories","folder","folders","xdg"],"dependencies":{"meow":"^3.7.0","trash":"^5.2.0","update-notifier":"^2.5.0"},"devDependencies":{"ava":"^1.4.1","execa":"^1.0.0","path-exists":"^4.0.0","temp-write":"^3.4.0","xo":"^0.24.0"},"gitHead":"c07f920e15fabf97de1ae3ad39d512fe95c06688","bugs":{"url":"https://github.com/sindresorhus/trash-cli/issues"},"homepage":"https://github.com/sindresorhus/trash-cli#readme","_id":"trash-cli@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ade12f553be1e6bbf6797aa7e9cc08a3eacc03db","size":2237,"noattachment":false,"key":"/trash-cli/-/trash-cli-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/trash-cli/download/trash-cli-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trash-cli_2.0.0_1555556251092_0.35096645706175633"},"_hasShrinkwrap":false,"publish_time":1555556251204,"_cnpm_publish_time":1555556251204},"1.4.0":{"name":"trash-cli","version":"1.4.0","description":"Move files and folders to the trash","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/trash-cli.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"trash":"cli.js"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["cli.js"],"keywords":["cli-app","cli","trash","recycle","bin","rm","rmrf","rimraf","remove","delete","del","file","files","dir","directory","directories","folder","folders","xdg"],"dependencies":{"meow":"^3.7.0","trash":"^4.0.0","update-notifier":"^1.0.2"},"devDependencies":{"ava":"*","execa":"^0.4.0","path-exists":"^3.0.0","temp-write":"^2.0.1","xo":"*"},"xo":{"esnext":true},"gitHead":"34f7d2f25231d28147867a534f171d8689c34264","bugs":{"url":"https://github.com/sindresorhus/trash-cli/issues"},"homepage":"https://github.com/sindresorhus/trash-cli#readme","_id":"trash-cli@1.4.0","_shasum":"3288d890c824a5cc978a6c448a9f329b06be069d","_from":".","_npmVersion":"3.10.7","_nodeVersion":"4.5.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"3288d890c824a5cc978a6c448a9f329b06be069d","size":2250,"noattachment":false,"key":"/trash-cli/-/trash-cli-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/trash-cli/download/trash-cli-1.4.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/trash-cli-1.4.0.tgz_1474610163204_0.489554655039683"},"directories":{},"publish_time":1474610163423,"_cnpm_publish_time":1474610163423,"_hasShrinkwrap":false},"1.3.0":{"name":"trash-cli","version":"1.3.0","description":"Move files and folders to the trash","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/trash-cli.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"trash":"cli.js"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["cli.js"],"keywords":["cli-app","cli","trash","recycle","bin","rm","rmrf","rimraf","remove","delete","del","file","files","dir","directory","directories","folder","folders","xdg"],"dependencies":{"meow":"^3.4.2","trash":"^3.2.0","update-notifier":"^0.6.3"},"devDependencies":{"ava":"*","execa":"^0.2.2","path-exists":"^2.0.0","temp-write":"^2.0.1","xo":"*"},"xo":{"esnext":true},"gitHead":"e6dee38aa399758f6d2a66fa0cb56b052f327cfa","bugs":{"url":"https://github.com/sindresorhus/trash-cli/issues"},"homepage":"https://github.com/sindresorhus/trash-cli#readme","_id":"trash-cli@1.3.0","_shasum":"6088bc4a933e062fbd34e1c8ff03d6e685ff9433","_from":".","_npmVersion":"3.8.5","_nodeVersion":"4.3.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"6088bc4a933e062fbd34e1c8ff03d6e685ff9433","size":2246,"noattachment":false,"key":"/trash-cli/-/trash-cli-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/trash-cli/download/trash-cli-1.3.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/trash-cli-1.3.0.tgz_1460108273310_0.25320150679908693"},"directories":{},"publish_time":1460108273870,"_cnpm_publish_time":1460108273870,"_hasShrinkwrap":false},"1.2.1":{"name":"trash-cli","version":"1.2.1","description":"Move files and folders to the trash","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/trash-cli"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"trash":"cli.js"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["cli.js"],"keywords":["cli-app","cli","trash","recycle","bin","rm","rmrf","rimraf","remove","delete","del","file","files","dir","directory","directories","folder","folders","xdg"],"dependencies":{"meow":"^3.4.2","trash":"^3.2.0","update-notifier":"^0.5.0"},"devDependencies":{"ava":"*","execa":"^0.1.0","path-exists":"^2.0.0","temp-write":"^2.0.1","xo":"*"},"xo":{"esnext":true},"gitHead":"29f1b3014df3825abfd3c159428921652bf8f6d4","bugs":{"url":"https://github.com/sindresorhus/trash-cli/issues"},"homepage":"https://github.com/sindresorhus/trash-cli","_id":"trash-cli@1.2.1","_shasum":"027e386c8e943c19aaea89d3c1edd8dc086472f4","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"027e386c8e943c19aaea89d3c1edd8dc086472f4","size":2247,"noattachment":false,"key":"/trash-cli/-/trash-cli-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/trash-cli/download/trash-cli-1.2.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/trash-cli-1.2.1.tgz_1456187793624_0.5973469738382846"},"directories":{},"publish_time":1456187796746,"_cnpm_publish_time":1456187796746,"_hasShrinkwrap":false},"1.2.0":{"name":"trash-cli","version":"1.2.0","description":"Move files and folders to the trash","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/trash-cli.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"trash":"cli.js"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["cli.js"],"keywords":["cli-app","cli","trash","recycle","bin","rm","rmrf","rimraf","remove","delete","del","file","files","dir","directory","directories","folder","folders","xdg"],"dependencies":{"meow":"^3.4.2","trash":"^3.2.0","update-notifier":"^0.5.0"},"devDependencies":{"ava":"*","path-exists":"^2.0.0","pify":"^2.2.0","temp-write":"^2.0.1","xo":"*"},"xo":{"esnext":true},"gitHead":"f0875cfe0e9f5f1fa7b71fad01955ad8a3cd4a46","bugs":{"url":"https://github.com/sindresorhus/trash-cli/issues"},"homepage":"https://github.com/sindresorhus/trash-cli#readme","_id":"trash-cli@1.2.0","_shasum":"e43817a7b9f97552453503d877183d45538b8c20","_from":".","_npmVersion":"2.14.9","_nodeVersion":"4.2.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"e43817a7b9f97552453503d877183d45538b8c20","size":2243,"noattachment":false,"key":"/trash-cli/-/trash-cli-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/trash-cli/download/trash-cli-1.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1446621492195,"_cnpm_publish_time":1446621492195,"_hasShrinkwrap":false},"1.1.0":{"name":"trash-cli","version":"1.1.0","description":"Move files and folders to the trash","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/trash-cli"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"trash":"cli.js"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["cli.js"],"keywords":["cli-app","cli","trash","recycle","bin","rm","rmrf","rimraf","remove","delete","del","file","files","dir","directory","directories","folder","folders","xdg"],"dependencies":{"meow":"^3.4.2","trash":"^3.1.0","update-notifier":"^0.5.0"},"devDependencies":{"ava":"*","path-exists":"^2.0.0","pify":"^2.2.0","temp-write":"^2.0.1","xo":"*"},"xo":{"esnext":true},"gitHead":"d01154d1e113c575eb7723cffce6e50c6c34a4ac","bugs":{"url":"https://github.com/sindresorhus/trash-cli/issues"},"homepage":"https://github.com/sindresorhus/trash-cli","_id":"trash-cli@1.1.0","_shasum":"a9b19801ac63593de0010d3edf7e61a807642054","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"a9b19801ac63593de0010d3edf7e61a807642054","size":2309,"noattachment":false,"key":"/trash-cli/-/trash-cli-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/trash-cli/download/trash-cli-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1444805147355,"_cnpm_publish_time":1444805147355,"_hasShrinkwrap":false},"1.0.0":{"name":"trash-cli","version":"1.0.0","description":"Move files and directories to the trash","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/trash-cli"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"trash":"cli.js"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["cli.js"],"keywords":["cli-app","cli","trash","recycle","bin","rm","rmrf","rimraf","remove","delete","del","file","files","dir","directory","directories","xdg"],"dependencies":{"meow":"^3.4.2","path-exists":"^2.0.0","trash":"^3.0.0","update-notifier":"^0.5.0"},"devDependencies":{"ava":"*","pify":"^2.2.0","temp-write":"^2.0.1","xo":"*"},"xo":{"esnext":true},"gitHead":"f0ac203242caa7f1be46d27d71e9d1aa86386bc6","bugs":{"url":"https://github.com/sindresorhus/trash-cli/issues"},"homepage":"https://github.com/sindresorhus/trash-cli","_id":"trash-cli@1.0.0","_shasum":"1fe943d0e79cc9ad72e43638065f02dc87c3ad9e","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"1fe943d0e79cc9ad72e43638065f02dc87c3ad9e","size":2331,"noattachment":false,"key":"/trash-cli/-/trash-cli-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/trash-cli/download/trash-cli-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1444721361408,"_cnpm_publish_time":1444721361408,"_hasShrinkwrap":false}},"readme":"# [<img src=\"https://cdn.jsdelivr.net/gh/sindresorhus/trash@1cdbd660976d739eeb45447bb6b62c41ac4a3ecf/media/logo.svg\" width=\"150\" align=\"left\" alt=\"trash-cli\">](https://github.com/sindresorhus/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 delete 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  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 module\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","_attachments":{},"homepage":"https://github.com/sindresorhus/trash-cli#readme","bugs":{"url":"https://github.com/sindresorhus/trash-cli/issues"},"license":"MIT"}