7-zip archive with hard links?

Posted by Steven Penny on Super User See other posts from Super User or by Steven Penny
Published on 2012-04-17T13:11:01Z Indexed on 2012/06/02 4:43 UTC
Read the original article Hit count: 532

Filed under:
|
|
|

I see that tar respects hard links

$ ln clonezilla.iso test.iso

$ tar cfvvJ archive.tar.xz *.iso

-rw-r--r-- Steven 111149056 2012-03-25 07:34 clonezilla.iso
hrw-r--r-- Steven         0 2012-03-25 07:34 test.iso link to clonezilla.iso

7-Zip does not do this

$ 7z a -mx=9 archive.7z *.iso

$ ls -l

-rw-r--r-- 1 Steven 212827496 Apr 17 07:40 archive.7z
-rw-r--r-- 1 Steven 105073772 Apr 17 07:38 archive.tar.xz

Is there a way to make 7-Zip respect hard links?

gnu.org/software/tar/manual/html_node/hard-links

© Super User or respective owner

Related posts about archiving

Related posts about tar