By default in OSX, terminal commands like move (mv), copy (cp) or remove (rm) can overwrite or delete existing files without prompting you whether it's really want you want to do. These commands can be dangerous to use especially when using * for designing multiple files. To be automatically prompted for confirmation before each file is processed, create yourself a .cshrc file in your home directory and put the following lines
alias mv 'mv -i'Another thing I find very useful is to have the target directory listed automatically when issuing a cd command. This can be done as well by adding the following line in your .cshrc file:
alias rm 'rm -i'
alias cp 'cp -i'
alias cd 'cd \!*;echo $cwd; ls -FC'For these changes to be effective, type source .cshrc or open a new terminal window.
Mac OS X Hints
http://hints.macworld.com/article.php?story=20010515133936938