LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

trash-rm

Remove files matching a pattern from the trash can

TLDR

Remove all files named foo from trash
$ trash-rm foo
copy
Remove all files ending with .o from trash
$ trash-rm '*.o'
copy
Remove files with a specific original path from trash
$ trash-rm /absolute/path/to/file
copy

SYNOPSIS

trash-rm PATTERN

DESCRIPTION

trash-rm removes from the trash can all files matching the given pattern. It permanently deletes matching trashed files according to the freedesktop.org Trash specification. The pattern is matched against the original file name or path.

INSTALL

sudo dnf install trash-cli
copy
sudo pacman -S trash-cli
copy
sudo apk add trash-cli
copy
sudo zypper install trash-cli
copy
brew install trash-cli
copy
nix profile install nixpkgs#trash-cli
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid