summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xssync2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssync b/ssync
index 0bf57a2..dad8c4f 100755
--- a/ssync
+++ b/ssync
@@ -68,7 +68,7 @@ if [ $COUNT -gt 0 ]; then
log "Syncing now"
cat $FETCH_FILE | xargs -n1 -P$PARALLEL -I '{}' rsync -e "ssh -i $KEY_FILE" \
-av \
- $REMOTE:${REMOTE_DIR}/'{}' ${SRC_DIR}
+ $REMOTE:"${REMOTE_DIR}/'{}'" ${SRC_DIR}
else
log "No files to sync"
fi