Skip to content

Commit

Permalink
Add rsync option '--delete' for skylark backup
Browse files Browse the repository at this point in the history
  • Loading branch information
cradle8810 committed Dec 26, 2024
1 parent c8688ba commit 1bb711d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ fi

# rsync
touch ${DESTDIR}/sentinel
echo "rsync -av8 ${NULLPODIR} ${DESTDIR}"
rsync -av8 ${NULLPODIR} ${DESTDIR}
echo "rsync -av8 --delete ${NULLPODIR} ${DESTDIR}"
rsync -av8 --delete ${NULLPODIR} ${DESTDIR}
RETVAL=$?

if [ ! $RETVAL ]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ fi

# rsync
touch ${DESTDIR}/sentinel
echo "rsync -av8 ${NULLPODIR} ${DESTDIR}"
rsync -av8 ${NULLPODIR} ${DESTDIR}
echo "rsync -av8 --delete ${NULLPODIR} ${DESTDIR}"
rsync -av8 --delete ${NULLPODIR} ${DESTDIR}
RETVAL=$?

if [ ! $RETVAL ]; then
Expand Down

0 comments on commit 1bb711d

Please sign in to comment.