Hi
I'm trying to compress a tar archive within a script to dsave space but I have run into problems. I can't seem to get it to work even from the command line.
The file I have is approx 5GB and I am using bzip 0.9.0c that was shipped with Solaris 8 2/02. I can seem to compress other files even of a similar size, but when I try to compress the tar I get a message 'bzip2: Input file hottest18112004110457.tar doesn't exist, skipping.'. I have tried making the file name shorter without any sucess. The command I am running is as follows:
/usr/bin/tar -cvf <target_file>.tar <source> | /usr/bin/bzip2 <target_file>.tar
Anyone any idea, is this the correct syntax?
Thanks
Phil.
I'm trying to compress a tar archive within a script to dsave space but I have run into problems. I can't seem to get it to work even from the command line.
The file I have is approx 5GB and I am using bzip 0.9.0c that was shipped with Solaris 8 2/02. I can seem to compress other files even of a similar size, but when I try to compress the tar I get a message 'bzip2: Input file hottest18112004110457.tar doesn't exist, skipping.'. I have tried making the file name shorter without any sucess. The command I am running is as follows:
/usr/bin/tar -cvf <target_file>.tar <source> | /usr/bin/bzip2 <target_file>.tar
Anyone any idea, is this the correct syntax?
Thanks
Phil.