trash

trash

TLDR

Delete a file (send to trash)

>_ trash [path/to/file]
copy

List files in trash

>_ trash-list
copy

Restore file from trash

>_ trash-restore
copy

Empty trash

>_ trash-empty
copy

Empty trash, keeping files trashed less than {{10}} days ago

>_ trash-empty [10]
copy

Remove all files named 'foo' from the trash

>_ trash-rm foo
copy

Remove all files with a given original location

>_ trash-rm [/absolute/path/to/file_or_directory]
copy

Copied to clipboard
free 100$ digital ocean credit