WestleyR / srm

Safe remove ('rm') command with caching
BSD 3-Clause Clear License
8 stars 2 forks source link

batch recover? #6

Open tiansin opened 1 year ago

tiansin commented 1 year ago

Can I recover deleted files in bulk? @WestleyR

WestleyR commented 1 year ago

No bulk option has been added yet. How where you thinking it should work? Like a wildcard name match, or like everything in the last 2 minute? And also should it recover it to the original path? How would it function ideally for you?

tiansin commented 2 months ago

@WestleyR After mistakenly executing “rm -rf /*”, is it possible to use a command like “rm -revoke latest” to restore files to their original paths, or use “rm -revoke hash” to restore the entire deletion at a specific point in time?

WestleyR commented 2 months ago

That is not possible yet, I will try to see if I can add that feature soon-ish.