trash-rm
Remove files matching a pattern from the trash can
TLDR
Remove all files named foo from trash
$ trash-rm foo
Remove all files ending with .o from trash$ trash-rm '*.o'
Remove files with a specific original path from trash$ trash-rm /absolute/path/to/file
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.
SEE ALSO
trash(1), trash-put(1), trash-list(1), trash-empty(1), trash-restore(1)
