[buug] backup a dir with hard links
John de la Garza
john at jjdev.com
Tue Feb 13 11:56:28 PST 2007
If I have a file and create a hard link to it like:
touch foo
ln foo bar
and want to back up the directory that contains this link, it seems
that cp and rsync are not able to keep the link structure but if I
use tar it does keep it
Is it possible to keep the links with cp or rsync or must I use tar
or another archiving thing? I have tried cp -RH which is not the way
to go...
More information about the buug
mailing list