rip
Remove files or directories by sending them to the graveyard, allowing for them to be recovered. tldr-pages
On several platforms
Several platforms
Remove files or directories from specified locations and place them in the graveyard
rip path/to/file_or_directory1 path/to/file_or_directory2 ...IdentifyInteractively remove files or directories, with a prompt before every removal
rip --inspect path/to/file_or_directory1 path/to/file_or_directory2 ...IdentifyList all files and directories in the graveyard that were originally within the current directory
rip --seanceIdentifyPermanently delete every file and directory in the graveyard
rip --decomposeIdentifyPut back the files and directories which were affected by the most recent removal
rip --unburyIdentifyPut back every file and directory that is listed by rip --seance
rip --seance --unburyIdentify