This question already has an answer here:
- Dereferencing hard links 2 answers
I have a 2.5 TB of data that I want to put in a 2TB hard drive to mail somewhere. It's not hopeless, as a very large fraction of the data consists of duplicate files. I am considering using
jdupes with the
-H option, which will replace duplicate files with hardlinks to a single file.
Here's the problem: If I tar a directory containing multiple hard links to other files in the directory tree, will
tar "reduplicate" them in the archive file?