don't delete everything
This commit is contained in:
parent
151c0d0ce0
commit
0d63a70d35
@ -8,7 +8,7 @@ chmod -R 0600 /tmp/key
|
||||
for item in dist/*; do
|
||||
echo "copying $i"
|
||||
ITEM_NAME=$(basename $item)
|
||||
rsync -e "ssh -i /tmp/key -o StrictHostKeyChecking=no" -avz --delete $item $RSYNC_DESTINATION/tst/$ITEM_NAME
|
||||
rsync -e "ssh -i /tmp/key -o StrictHostKeyChecking=no" -avz --delete $item $RSYNC_DESTINATION/$ITEM_NAME
|
||||
done
|
||||
echo "finished copying to remote host..."
|
||||
cd ..
|
||||
|
Loading…
Reference in New Issue
Block a user