[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Copying directory containing internal hard links to other partition



I want to move a directory containing my backups (created by
faubackup) to another directory on a different partition. The 
problem is that the backup directory contains a lot of hard 
links (to files inside the same backup directory). 

Simply copying the directory with 'cp -R' replaces the hard 
linked files with duplicates of the file. 'tar -cf' does also
seem to increase the size of the directory.

Any idea's how to move the directory and remain the hard links?

Additional info: source partition is reiserfs3, destination is
ext3. Destination directory already contains files.

Thanks,

Ronald





Reply to: