Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. rsync -aivr --delete --progress /src/my-files/ /dest/my-files
  2.  
  3. # rsync walks the src drive
  4. # if a file is present in src that is not present in dest, then copy the file to dest
  5. # if a file is present both in src and in dest, then compare modification times
  6. # and overwrite using the later one.
  7. # if a file is present on dest but is not on src, then copy the file from dest to src.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement