Trash
fima trash is a subcommand used to manage the trash.
Usage
fima trash SUBCOMMAND [OPTIONS]
Subcommands:
listLists all the files in the trashemptyEmpties the trashrestore IDsRestore an item given an ID (supports multiple IDs)remove IDsRemove an item given an ID (supports multiple IDs)
List Opions:
-p, --plainPlain output
Empty Opions:
-y, --yesDon't ask for confirmation
Examples
sh
# put some items in the trash
fima rm file.txt file2.txt file3.txt file4.txt file5.txt
# lists the content of the trash
fima trash list
# restore a file
fima trash restore ID1 ID2
# remove a file
fima trash remove ID1 ID2
# empties the trash
fima trash empty -yShowcase
