rsync
This commit is contained in:
parent
c5be132b42
commit
f9e02c2173
1 changed files with 6 additions and 6 deletions
|
@ -15,9 +15,9 @@ SYNC_USER='cd'
|
||||||
SYNC_TARGET="${SYNC_USER}@${SYNC_HOST}:${SYNC_ROOT}"
|
SYNC_TARGET="${SYNC_USER}@${SYNC_HOST}:${SYNC_ROOT}"
|
||||||
[ "${2}" ] && SYNC_TARGET="${SYNC_TARGET}/${2}"
|
[ "${2}" ] && SYNC_TARGET="${SYNC_TARGET}/${2}"
|
||||||
|
|
||||||
#rsync \
|
rsync \
|
||||||
#--archive \
|
--archive \
|
||||||
#--delete-before \
|
--delete-before \
|
||||||
#--verbose \
|
--verbose \
|
||||||
echo "${SYNC_SOURCE}/"
|
"${SYNC_SOURCE}/" \
|
||||||
echo "${SYNC_TARGET}/"
|
"${SYNC_TARGET}/"
|
||||||
|
|
Loading…
Reference in a new issue