Re: Tar and bzip2 maximum compression
Hi Philippe, Philippe Meunier wrote on Mon, Oct 09, 2017 at 08:03:12AM -0400: > leo_...@volny.cz wrote: >> % tar cvvf - > On a related note, it would be nice if tar(1)'s man page indicated that the > -v option can be specified more than once to get extra information. Until > seeing this discussion thread I had never realized this was possible. Thanks for mentioning that: millert@ just improved the manual as a result. Yours, Ingo
Re: Tar and bzip2 maximum compression
leo_...@volny.cz wrote: >% tar cvvf - On a related note, it would be nice if tar(1)'s man page indicated that the -v option can be specified more than once to get extra information. Until seeing this discussion thread I had never realized this was possible. Philippe
RE: Tar and bzip2 maximum compression
Hi, > Hi guys, > How can I get the maximum compression from bzip2 by tar? > > I try this but not work [although with linux it works]: > tar cvv file_to_compress | pbzip2 -9 -v > compressed.tbz2 > return--> tar: Failed open to write on /dev/rst0: Device not configured > I believe the ancient default for tar(1) is to try to open the 0th st(1) device in raw mode, that's what you're seeting. Try: % tar cvvf - (piped to whatever you want) instead. > Can anyone give me some tips? It's more modern to use pax(1), whose syntax is different, but which behaves in the way you'd expect these days. > Thanks. You're welcome :) --schaafuit
RE: Tar and bzip2 maximum compression
I wrote: > > I believe the ancient default for tar(1) is to try to open the 0th > st(1) device in raw mode, that's what you're seeting. Try: grah... that's st(4), of course. --schaafuit.