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.
safe-remove remove test.ts ./**/junkfile.txt
safe-remove restore test.ts nested/dir/junkfile.txt
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.
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.