Skip to content

Instantly share code, notes, and snippets.

@vertexvaar
Created March 21, 2019 13:25
Show Gist options
  • Select an option

  • Save vertexvaar/e13cc82c81215c68fab4e93abd93c96b to your computer and use it in GitHub Desktop.

Select an option

Save vertexvaar/e13cc82c81215c68fab4e93abd93c96b to your computer and use it in GitHub Desktop.
rsync example command to sync a folder with a progress bar for the complete transaction
rsync --exclude '*.zip' \
--exclude '*.ZIP' \
--exclude=_processed_ \
--info=progress2 \
--max-size=2M \
-azO \
-e ssh \
$(SYNCSERVER):$(SYNCFOLDER)/fileadmin/ Web/fileadmin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment