Created
June 16, 2020 13:55
-
-
Save cristiroma/35754d527dbfb5e122ec2edf92c335b7 to your computer and use it in GitHub Desktop.
RSYNC 101
This file contains 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
# Sync only images | |
rsync -ravz --progress --include="*/" --include="*/*.jpg" --include="*/*.jpeg" --include="*/*.png" --include="*/*.gif" --include="*/*.svg" --exclude="*" user@server.com:/path/to/folder/ . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment