Hello rsync people
I thought I knew how to use rsync, but I can't work out how to use it to
do the equivalent of
cp -al dir1 dir2
where dir1 and dir2 are both local and on the same disk.
In other words I want to make dir2 a copy of dir1, with every file
hard-linked to its counterpart in dir1.
Why not just use cp? Because I want to be able to do it as a user who
has sudo permission to run rsync but not cp.
cheers
Chris
--
Chris Dennis [email protected]
Fordingbridge, Hampshire, UK
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html