Windows has a nice option to its XCOPY command: /D. This copies only files where the source modification time is newer than the destination time. Is there any unix/linux equivalent of this? I'm trying to get a fast copy to my local testing server.
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
migrated from stackoverflow.com Nov 5 '09 at 21:36
|
I usually do:
If you want it to delete files that doesn't exist anymore in /from/where add --delete. It can also be used from different boxes like this:
|
|||||||||
|
From the man page:
|
||||
|
|