Displaying 1 result from an estimated 1 matches for "rsync_dst".
2006 Jun 06
13
DO NOT REPLY [Bug 3825] New: rsync won't delete directory with excluded files
...t (i.e. imply
--delete-excluded just for the deleted hierarchy).
(I can't use the --delete-excluded option in the script because this backup is
done is several pieces, with the top-level backup having excludes for the
hierarchies done separately.)
Demo script:
rm -rf /tmp/rsync_src /tmp/rsync_dst
mkdir /tmp/rsync_src /tmp/rsync_dst
mkdir /tmp/rsync_src/dir
echo txt >/tmp/rsync_src/dir/file.txt
echo tmp >/tmp/rsync_src/dir/file.tmp
echo
echo '$' \
rsync -va /tmp/rsync_src/ /tmp/rsync_dst/
rsync -va /tmp/rsync_src/ /tmp/rsync_dst/
rm -rf /tmp/rsync_s...