Created
November 29, 2020 13:26
-
-
Save kaihendry/35e49661be8af7cfe2d2b1231f245d68 to your computer and use it in GitHub Desktop.
rsync
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
hendry-tw-mbp:v2 kaihendry$ ./2_sync-mysrctree.sh | |
Enter passphrase for key '/Users/kaihendry/.ssh/id_rsa': | |
building file list ... | |
36 files to consider | |
rsync: failed to set permissions on "/mnt/red/redsamba/.": Operation not permitted (1) | |
.d...p... ./ | |
sent 912 bytes received 26 bytes 268.00 bytes/sec | |
total size is 1.00G speedup is 1147990.62 | |
rsync error: some files could not be transferred (code 23) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54.120.1/rsync/main.c(996) [sender=2.6.9] | |
hendry-tw-mbp:v2 kaihendry$ cat ./2_sync-mysrctree.sh | |
#!/bin/bash | |
rsync -vaihhHSP --exclude "Transcoded Media" --exclude=".*" --exclude "*Render Files*" --exclude "*Analysis Files*" --omit-dir-times mysrctree/ 192.168.1.2:/mnt/red/redsamba |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment