By default there is no trash can in Unix CLI environment. Once you execute built in rm args
all the files are gone.
Never again delete an important file by mistake. softrm
is a CLI tool
that offers trash can like capabilities (that are commonly found in desktop environments).
Note that this is still work in progress.
softrm rm [args] # move file(s) to trash
softrm list # show trash contents (not implemented yet)
softrm restore [id] # restore group of files deleted with [id]
softrm flush [id] # permanently delete group of files [id]
In the future it is planned to add support for automatic flushing of files older than specified time.
Note that softrm is not intended to integrate with desktop environment's trash can. This is due to differences in how softrm works.
Apache License, Version 2.0