Skip to content

danielmanesku/softrm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages