I use the following command in my shell script to do the rsync backup: $RSYNC -alvz --delete --exclude=Cache --exclude=.beagle -- exclude=trash --exclude=.thumbnails /home/<username> $MPOINT --log- file=/var/log/rsync
The --delete means to delete files on the remote that are not on the local machine. That is why they are gone on the backup drive.
Hi Ken, Thanks for the fast reply. Yes, I know what --delete does, and I *want* rsync to delete files from the target directory...only not right away, but after 14 days or 30 days or so. If I don't use --delete, then rsync will just keep adding things to the backup, but never removing them, as I understand it. Am I wrong about that? Joop -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org