TRASH-RM(1)

๐Ÿ“ฆ
version 0.26.9.29 ยท 3 versions
, in alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

๐Ÿ’… TRASH-RM(1) โ€” the General Commands Manual era

ok so bestie, this is trash-rm, a lil icon from the trash-cli squad, and it lives in the General Commands Manual section of your system. she has one job and she does it flawlessly. periodt. โœจ


๐ŸŒธ NAME ๐ŸŒธ

trash-rm โ€” removes files matching a pattern from the trash can ๐Ÿ—‘๏ธโœจ


๐ŸŽ€ SYNOPSIS ๐ŸŽ€

trash-rm [PATTERN]

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

okay so basically: trash-rm removes from the trash can all the files matching the PATTERN. not some of them. not "the ones it feels like". all of them. it's giving selective, but make it thorough ๐Ÿ’…


๐ŸŒˆ EXAMPLE ๐ŸŒˆ

here's the vibe check, three iconic ways to use her:

$ trash-rm foo          # Removes all files with name 'foo' in trash can
$ trash-rm '*.o'        # Removes all files ending with '.o' in trash can
$ trash-rm /full/path   # Removes all files with exactly '/full/path' as original location

so like โ€” a plain name, a glob, or an absolute original location. pick your fighter ๐Ÿซถ


๐Ÿ’€ BUGS ๐Ÿ’€

found a bug? no gatekeeping, bestie, please report bugs to https://github.com/andreafrancia/trash-cli/issues ๐Ÿ›โžก๏ธ๐Ÿ“ฎ


๐Ÿซถ IF YOU WANT SAY THANKS ๐Ÿซถ

ngl this is the sweetest section in any manpage ever. if you wanna say thanks, you can Tweet (to @andreafrancia or #trash-cli) or donate 1, 2 or 5 euros using paypal:

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=93L6PYT4WBN5A

one euro. two euros. five euros. the range is right there. main character generosity ๐Ÿ’ธ๐Ÿ‘‘


๐Ÿ‘‘ CREDITS ๐Ÿ‘‘

  • Trash was written by Andrea Francia <andrea@andreafrancia.it> โœจ
  • The original version of trash-empty was contributed by Einar Orn Olason <eoo@hi.is> ๐ŸŒธ
  • The first version of manual pages was written by Steve Stalcup <vorian@ubuntu.com> and was modified by Massimo Cavalleri <submax@tiscalinet.it> ๐Ÿฆ‹

Both are released under the GNU General Public License, version 2. slay, legally speaking ๐Ÿ’…


๐Ÿ”ฅ SEE ALSO ๐Ÿ”ฅ


TRASH-RM(1) โ€” that's the whole page, bestie, you ate ๐Ÿ“ this was the General Commands Manual cut of trash-rm, brought to you by the trash-cli girlies, and if you ever need her again she's right there in section 1. iykyk ๐Ÿ’–โœจ๐ŸŽ€๐Ÿฆ‹๐ŸŒธ๐Ÿ’…๐Ÿซถ