link-dest doesn't seem to work properly on MacOSX

hadar at hadar at
Thu Aug 12 08:23:23 GMT 2004

I have been trying to use rsyncx to generate a script for rotating backups
but it seems to me that the --link-dest option doesn't work properly in my
configuration. Instead of creating hard links for all unchanged files it
seems that rsync copies everything, as if --link-dest hasn't been
specificed. Can somebody clarify what's going on?

My script is ptovided below:

#rotating backup script - v1.0
rm -rf "/Volumes/Backups/Iteration.3"
mv -f  "/Volumes/Backups/Iteration.2" "/Volumes/Backups/Iteration.3"
mv -f  "/Volumes/Backups/Iteration.1" "/Volumes/Backups/Iteration.2"
mv -f  "/Volumes/Backups/Iteration.0" "/Volumes/Backups/Iteration.1"

time /usr/local/bin/rsync --rsync-path=/usr/local/bin/rsync -az --eahfs
--showtogo --link-dest="/Volumes/Backups/Iteration.1/"
"/Users/my_username" "/Volumes/Backups/Iteration.0/"



More information about the rsync mailing list