Force Overwrite when doing a Copy

Having to constantly press “y” when you want to overwrite the files in a directory can be a huge pain.  To get around that just add a slash in front of the copy command.

\cp /home/me/Music/* /home/me/MusicBK/

This entry was posted in Linux. Bookmark the permalink.

Leave a Reply