I want to copy a bunch of folders recursively. However, I don't want one error preventing the copy from finishing. Is there any way to do a recursive copy(cp -R), ignoring (but logging) all errors produced? I'm on Mac OS X, but I assume the answer would be the same for *nixes.
|
feedback
|
|
Hey, you might want to check out rsync ( http://www.samba.org/ftp/rsync/rsync.html ). It can do a more reliable job and only copy the files that didn't copy the first time: rsync -vza --progress /source/ /destination/ Good luck! | |||
|
feedback
|
|
Found the answer: ditto(1) | |||||||
|
feedback
|