shell-safe-rm
shell-safe-rm copied to clipboard
😎 Safe-rm: A drop-in and much safer replacement of bash rm with nearly full functionalities and options of the rm command! Safe-rm will act exactly the same as the original rm command.
`shell-safe-rm` can't deal with symbolic links pointing to directories, for example: ``` $ export SAFE_RM_DEBUG=1 $ cd /tmp/ $ mkdir test $ ln -s test test_link $ rm test_link [D]...
``` ❯ safe-rm Germund\ Dahlquist,\ Ake\ Bjorck\ -\ Numerical\ Methods\ \(2003\).pdf basename: extra operand ‘Ake’ Try 'basename --help' for more information. basename: extra operand ‘Ake’ Try 'basename --help' for more...
There has been discussion about merging these two tools, safe-rm and shell-safe-rm on launchpad: https://bugs.launchpad.net/safe-rm/+bug/1940498 It suggests making a rewrite of shell-safe-rm in rust to provide a path forward for...
If you run this executable occasionally it will decide to delete the current working directory as well as the target. I'm almost positive it was happening when running `safe-rm CHILD_DIRECTORY...
Fixes #31 and Fixes #27 Previously using safe-rm on a filename with multiple spaces in it would succeed, but produce an error message. Now it does not produce that error...
It seems that this repo is abandoned as there is no response in from the user nor recent activity  I really need to use this repo. If you willing...