tag:blogger.com,1999:blog-5541296000399974369.post8649223265877939272..comments2024-03-09T02:51:27.612-05:00Comments on Peter Eisentraut's Blog: Time to retrain the fingersAnonymoushttp://www.blogger.com/profile/02849480732923051923noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-5541296000399974369.post-16559126251812476052013-09-27T01:27:02.725-04:002013-09-27T01:27:02.725-04:00Thanks! That's why I could not find that optio...Thanks! That's why I could not find that option in RHEL 5.k.sasakihttps://www.blogger.com/profile/01872877753706109354noreply@blogger.comtag:blogger.com,1999:blog-5541296000399974369.post-9817264786177879792013-09-26T22:35:56.455-04:002013-09-26T22:35:56.455-04:00version 1.20, 2008-04-14version 1.20, 2008-04-14Anonymoushttps://www.blogger.com/profile/02849480732923051923noreply@blogger.comtag:blogger.com,1999:blog-5541296000399974369.post-78928333014045393502013-09-26T00:10:38.442-04:002013-09-26T00:10:38.442-04:00Since which version GNU tar has supported that opt...Since which version GNU tar has supported that option?k.sasakihttps://www.blogger.com/profile/01872877753706109354noreply@blogger.comtag:blogger.com,1999:blog-5541296000399974369.post-65005636851627920452012-05-20T15:49:50.896-04:002012-05-20T15:49:50.896-04:00Thanks for mentioning it, I’ve just added the ‘a’ ...Thanks for mentioning it, I’ve just added the ‘a’ flag to paxtar (Debian wheezy and up, package “pax”).<br /><br />However! I am still of the opinion that, when *creating* an archive, one shall always create to stdout and pipe that through an explicit compressor. Otherwise you get gzip -6 (laughable compression) and xz -6 (overkill for a lot of things).<br /><br />paxtar -cf - foo | gzip -n9 >foo.tgz<br /><br />find foo -type f | sort | paxcpio -oHustar | xz -2e >foo.txz<br /><br />These are examples. (pax, paxtar and paxcpio also support archive normalisation, that is, flags for things like setting uid and gid to 0, mtime to 0, not storing the user and group id names (only numbers), etc. and compression ratio _can_ increase when the files are ordered (instead of “sort” above) correctly.) By the way, xz -2 is not slower than gzip -9 and compresses not worse. (xz -e is slower, and higher numbers are NOT always better with xz, see its manpage.)<br /><br />PS: Posting with OpenID (using Launchpad’s) is impossible here.mirabiloshttps://www.mirbsd.org/man.cgi?tarnoreply@blogger.comtag:blogger.com,1999:blog-5541296000399974369.post-52318902490831978842012-05-19T09:16:39.146-04:002012-05-19T09:16:39.146-04:00Thanks for the tip :) Btw, found this when I came ...Thanks for the tip :) Btw, found this when I came home and saw the article slowly output by xscreensaver "apple ][" saver :pAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5541296000399974369.post-63539612827557244992012-05-16T04:58:15.622-04:002012-05-16T04:58:15.622-04:00You forgot the brief time when bzip2 had -I.You forgot the brief time when bzip2 had -I.Jon Dowlandhttps://www.blogger.com/profile/06788647521207177396noreply@blogger.comtag:blogger.com,1999:blog-5541296000399974369.post-18399507064330358672012-05-15T02:50:05.499-04:002012-05-15T02:50:05.499-04:00You can find atool ( http://packages.debian.org/sq...You can find atool ( http://packages.debian.org/squeeze/atool ) very handy. <br />To pack just type in:<br />$ apack archive.7z ./file1 ./file2 <br />and this tools create 7zip archive from files<br />or like this:<br />$ apack archive.tgz ./file1 ./file2<br />for tar.gz archive<br /><br />there is also aunpack tool, just give it a try.Anonymoushttps://www.blogger.com/profile/09155713226077798165noreply@blogger.comtag:blogger.com,1999:blog-5541296000399974369.post-45918484540913361012012-05-14T16:42:37.285-04:002012-05-14T16:42:37.285-04:00Oh thanks for that tip. I think I like the symmet...Oh thanks for that tip. I think I like the symmetry with 'a' though.Anonymoushttps://www.blogger.com/profile/02849480732923051923noreply@blogger.comtag:blogger.com,1999:blog-5541296000399974369.post-18276491520604213562012-05-14T16:23:54.431-04:002012-05-14T16:23:54.431-04:00You might like to know that 'tar tf' and &...You might like to know that 'tar tf' and 'tar xf' work fine with compressed files even without -a; you only need it when creating an archive.Richard Kettlewellhttps://www.blogger.com/profile/02136955636613798272noreply@blogger.com