Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 892 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 892 Bytes

softrm

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.

Available commands

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.

Other

Note that softrm is not intended to integrate with desktop environment's trash can. This is due to differences in how softrm works.

License

Apache License, Version 2.0