Skip to content

Instantly share code, notes, and snippets.

@tnajdek
Created March 7, 2014 17:39
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 tnajdek/9416153 to your computer and use it in GitHub Desktop.
Save tnajdek/9416153 to your computer and use it in GitHub Desktop.
#!/bin/bash
#rsync just new/changed files ignoring all meta/permissions/time/ownership/shitnot changes
rsync -aviz --no-p --no-t --no-o --no-g --ignore-times --size-only root@host:/some/remote/dir/ localdir/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment