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
http://www.nongnu.org/lzip/manual/lzip_manual.html#Introduction
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
http://www.gnu.org/software/tar/manual/html_node/gzip.html Best regards, Antonio. _______________________________________________ Lzip-bug mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lzip-bug
