don't go recursively into folders
This commit is contained in:
@@ -55,7 +55,7 @@ fi
|
|||||||
# 2. One-way rsync contents of ~/Pictures → share subpath
|
# 2. One-way rsync contents of ~/Pictures → share subpath
|
||||||
MP="${MOUNTPOINT}/${SUBPATH}"
|
MP="${MOUNTPOINT}/${SUBPATH}"
|
||||||
echo "[sync-pictures] Syncing ${SOURCE}/ → ${MP}/"
|
echo "[sync-pictures] Syncing ${SOURCE}/ → ${MP}/"
|
||||||
rsync -vrau \
|
rsync -vu --exclude='*/' \
|
||||||
"${SOURCE}/" \
|
"${SOURCE}/" \
|
||||||
"${MP}/" \
|
"${MP}/" \
|
||||||
--progress --stats \
|
--progress --stats \
|
||||||
|
|||||||
Reference in New Issue
Block a user