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}"
|
||||
[ "${2}" ] && SYNC_TARGET="${SYNC_TARGET}/${2}"
|
||||
|
||||
#rsync \
|
||||
#--archive \
|
||||
#--delete-before \
|
||||
#--verbose \
|
||||
echo "${SYNC_SOURCE}/"
|
||||
echo "${SYNC_TARGET}/"
|
||||
rsync \
|
||||
--archive \
|
||||
--delete-before \
|
||||
--verbose \
|
||||
"${SYNC_SOURCE}/" \
|
||||
"${SYNC_TARGET}/"
|
||||
|
|
Loading…
Reference in a new issue