OSX bash cp command

Soldato
Joined
6 Apr 2008
Posts
3,352
Location
Reading
I am attempting to write a script to copy some directories to an external drive for the purposes of a quick backup.

My only issue so far is that cp in osx seems to have no -u option (well -pu, would be what im after) available.

How do I go about copying files without overwriting in osx?

Thanks

Ed
 
Back
Top Bottom