Using cp -al and RSync

Ole Ersoy ole.ersoy at gmail.com
Wed May 16 00:13:08 GMT 2007


Hi,

Yesterday I rsynced some stuff like this:
rsync -avrt rsync://host/stuff yesterdays-rsynced-stuff/

I was hoping to be able to do capture
the delta between yesterday and today like this:

cp -al yesterdays-rsynced-stuff/ todays-rsynced-stuff/
rsync -avrt --delete rsync://host/stuff todays-rsynced-stuff/

However when I try to run rsync against the hardlinked
archive (todays-rsynced-stuff/) it starts downloading
files that are current.

I really just want to delete hard links that are no longer
current, and download updated files.

Any ideas?

Thanks,
- Ole


More information about the rsync mailing list