Created
June 27, 2016 01:48
-
-
Save mrladeia/b0a99b4a024ae0266c1e1602401eb22f to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
#755 folders | |
#644 files | |
rsync -a --chmod=Du=rwx,Dgo=rx,Fu=rw,Fog=r --files-from=/path/rsync-files.txt --ignore-existing -r /path/from user@host:/path/to -v --progress --stats |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment