Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rsync -avu path/to/dir/fileA path/to/dir/fileB
- -a do the sync preserving all filesystem attributes
- -v run verbosely
- -u only copy files with a newer modification time (or size difference if the times are equal)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement