Last active
December 20, 2015 08:29
-
-
Save caio-nas/6100612 to your computer and use it in GitHub Desktop.
syncs local dir with remote dir and log the outputs and errors. Always use complete path. The -n flag activates test run (only simulation)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (rsync -n -art -v --delete-after --force -e ssh integrator:/var/www/vhosts/caionascimento.com.br/httpdocs/catalogo_ifba/ /home/consultjr/merge/ 2>&1) | tee rsync_log.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment