This is a discussion on Re: tar and gzip within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> LHradowy wrote: > Let me get this correct... > If I tar cvf file.tar| gzip it creates a tar ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| LHradowy wrote: > Let me get this correct... > If I tar cvf file.tar| gzip it creates a tar file in memory (or on > disk?) then pipes it to gzip to compress it. So if I have a directory the > has 8 GB in size and I want to tar and compress it, I would tar the file to > 8GB in size the compress it. So in essence I need an additional 8 GB of > space? You need to spectofy the directory tar cvf file.tar directory | gzip > tarfile.tar.gz > > > Does tar -cvzf file.tar compress as it tars, does it need additional size > allocation? this "z" is an option for gnu tar, not hpux tar the compressing is done via pipes > I get an error when I try to tar -cvzf a file, saying the z in not a valid > variable. Does this mean I need to install GNUgzip? more gzip and fnu tar Jose |