Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Watch out for mv command and symlinks on Samba shares' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Watch out for mv command and symlinks on Samba shares
Authored by: jimhill on Nov 06, '03 12:59:06PM

No, NO, NO!!!!

Do not alias system commands! I can't repeat that strongly enough. If you want the system to hold your hand with "-i" flags, then for the love of God use aliases like "rmi", "cpi", and "mvi". Because if you don't, you _will_ find yourself working on another machine or another account and you'll blow your feet off with no safety net.

Rob -- it would be a grievous error on your part to include "use alias rm 'rm -i'" in any hint. Ever.


---
Mac OS X: Because making UNIX simple is easier than debugging Windows.



[ Reply to This | # ]