First the scripts provided here are very limited and could be dangerous due to missing argument checking. Second they even don't work here on by Mac as I have a FHS conforming 10.3.9 where bash is at /usr/bin/ and NOT /bin as provided by Apple. You should NEVER assume that a given tool or folder is where Apple installed it! And btw your del cemmand could be archived with a simple alias del='mv...'
There is also a much better rmm 'command' available (for free) with support for nearly ever rm option including recursion.
Trash4BASH
replacement rm command for bash
Version: 1.0
Ok it's free but why use this? - greatcow951
Actually, you should assume things are where the OS installs it. Otherwise, how the hell are you supposed to do anything?Since it seems ot rely on where 10.4 installs it, the system requirements needs to be changed to 10.4 or higher.
Reply to This
Sunday, October 22 2006 @ 10:44 AM PDT