Skip to content

Instantly share code, notes, and snippets.

@caio-nas
Last active December 20, 2015 08:29
Show Gist options
  • Save caio-nas/6100610 to your computer and use it in GitHub Desktop.
Save caio-nas/6100610 to your computer and use it in GitHub Desktop.
sync local dir with remote dir. Always use complete path. The -n flag activates test run (only simulation)
rsync -n -arptv --delete-after --force -e ssh caionascimento@174.142.14.170:/var/www/vhosts/caionascimento.com.br/httpdocs/catalogo_ifba/ /home/consultjr/Caio\ -\ Documentos/merge_cd_ifba/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment