Ok, I get it now. Just checked how it works and you copy timestamps to the
archive and restore it this way during decompression.
Dnia 26 czerwca 2017 23:51 Antonio Diaz Diaz
<[email protected]> napisaĆ(a):
wrotycz wrote:
IMHO as an archiver it should be able to "recreate original"
file with original name, time stamps and probably permissions
Lzip is a compressor, not an archiver. But on posix systems you should
not have any problem. Lzip restores the original name, the access and
modification dates, permissions, and, when possible, ownership of the
file just as "cp -p" does. See
www.nongnu.org www.nongnu.org
Without built in mechanism I can see only one way - with tar:
$ tar c file.name | lzip - > file.name.tar.lz
which isn't the most elegant as I create "double" archive but
that's
the only way I can see.
This is how it is done on systems where the above doesn't work; first
archive with tar, then compress with lzip. See
www.gnu.org www.gnu.org
Best regards,
Antonio.
_______________________________________________
Lzip-bug mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lzip-bug