Can files be changed to hard links?

Larry Alkoff labradley at
Tue Aug 28 15:53:20 GMT 2007

I have an rsync cron script that copies one entire hard drive containing 
hard links to another drive.  It does this by selecting the directories 
to be rsync'ed and copying them one by one.

My rsync line is:
rsync -uav source/ target
and the problem is this would not copy hard links.

If I change the rsync line to:
rsync uaHv --delete source/ target
will the files copied using the original line be deleted and replaced 
with hard links?


Larry Alkoff N2LA - Austin TX
Using Thunderbird on Linux

More information about the rsync mailing list