Feb 15, 2013

HowTo: fix linux cp always ask for overwrite

Do you want to remove the overwrite feature of cp? use the command below when coping files.

\cp -Rf filetocopy.txt destination.txt
** simply add a slash at the front of the cp command because cp is aliased by default to cp -i **

No comments:

Post a Comment