Skip to content

Instantly share code, notes, and snippets.

@stalmok
Created February 8, 2013 14:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stalmok/4739455 to your computer and use it in GitHub Desktop.
Save stalmok/4739455 to your computer and use it in GitHub Desktop.
Synchronize directories. With `-n` files aren't actually moved - just prints the expected output of the operation.
rsync -n -u --stats --progress /home/user/test/1/* /home/user/test/2/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment