[buug] backup a dir with hard links
jeremy at nirvani.net
Tue Feb 13 12:20:14 PST 2007
You might want to experiment with the -H option to rsync.
Thus spake John de la Garza:
> 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...
> Buug mailing list
> Buug at weak.org
"Prediction is very difficult, especially of the future."
More information about the buug