Skip to content

rm-like cli tool that saves deleted files. Built in Rust

Notifications You must be signed in to change notification settings

doughtnerd/safe-remove

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Safe Remove

Description

CLI tool similar to linux/ubuntu native rm command but backs up the files that are removed. These files can then be restored to their old location.

Example Usage

Remove files

safe-remove remove test.ts ./**/junkfile.txt

Restore files

safe-remove restore test.ts nested/dir/junkfile.txt

Why?

I wrote this to get a better feel for coding in Rust and figured this would be a fairly straightforward app. I'm well aware you could easily use some subset of other commands or tools (mv, cp then rm, etc) to accomplish the same thing.

Notes

The tool is not complete and bound to be a little buggy, I'll be working to correct bugs and make the tool a little better as I get more used to doing things in Rust.

About

rm-like cli tool that saves deleted files. Built in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages