2 ms·
Just started working on ‘can’, an ‘rm’ replacement, that moves files to the trash instead instead of deleting them. It only works on macos right now but I was h
by redman25 4y ago
Just started working on ‘can’, an ‘rm’ replacement, that moves files to the trash instead instead of deleting them. It only works on macos right now but I was hoping to make it cross-platform. It’s not faster than ‘rm’ but hopefully saves accidental deletions.
https://github.com/joshvoigts/can https://github.com/joshvoigts/can
- plg94 4y agoFor Linux there's [trash-cli](https://github.com/andreafrancia/trash-cli/ https://github.com/andreafrancia/trash-cli/). Doesn't seem to work for MacOS per this issue (https://github.com/andreafrancia/trash-cli/issues/284 https://github.com/andreafrancia/trash-cli/issues/284), but it suggests to use https://hasseg.org/trash/ https://hasseg.org/trash/
- redman25 4y agoYa, it’s mostly a learning excuse.