Skip to content

Instantly share code, notes, and snippets.

@khaliqgant
Created June 9, 2022 07:09
Show Gist options
  • Save khaliqgant/0445b3991ff6e4328ca42d9ffc2090d5 to your computer and use it in GitHub Desktop.
Save khaliqgant/0445b3991ff6e4328ca42d9ffc2090d5 to your computer and use it in GitHub Desktop.
[Rsync Only Changed Files] Only changed files #rsync
rsync -v -r --update . [email protected]:/storage/av03089/www/public_html
// test with dry run
rsync -v -r --update . [email protected]:/storage/av03089/www/public_html --dry-run
// had to run sudo -- run from the directory you want to transfer over
sudo rsync -v -r --update . [email protected]:/storage/av03089/www/public_html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment