cp -u is illegal on mac. What are the alternatives?
Posted
by
Barnabas Szabolcs
on Super User
See other posts from Super User
or by Barnabas Szabolcs
Published on 2012-12-05T23:27:38Z
Indexed on
2012/12/06
11:10 UTC
Read the original article
Hit count: 187
I have a MacbookPro Lion, and I have tried to archive my files that is tried to copy and overwrite if the source is newer than the destination. I tried the following command
cp -u source destination
but it says, -u is illegal. I also did not find --update or -u in the man cp
.
Can you please help, what can I do in this situation?
[I have the question moved over here from SO, so feel free to answer it once more. I hope this is the right way of dealing with this]
© Super User or respective owner