|Subject:||Re: [Lzip-bug] Is lzip able to save file name or time stams of compressed file?|
|Date:||Tue, 27 Jun 2017 23:52:11 +0200|
Dnia 26 czerwca 2017 23:51 Antonio Diaz Diaz <address@hidden> napisał(a):
wrotycz wrote:IMHO as an archiver it should be able to "recreate original"file with original name, time stamps and probably permissionsLzip is a compressor, not an archiver. But on posix systems you shouldnot have any problem. Lzip restores the original name, the access andmodification dates, permissions, and, when possible, ownership of thefile just as "cp -p" does. SeeWithout built in mechanism I can see only one way - with tar:$ tar c file.name | lzip - > file.name.tar.lzwhich isn't the most elegant as I create "double" archive but that'sthe only way I can see.This is how it is done on systems where the above doesn't work; firstarchive with tar, then compress with lzip. SeeBest regards,Antonio.
|[Prev in Thread]||Current Thread||[Next in Thread]|