Hi I have one directory as "eAMRLTXFLDS0"...I am supposed to create a
eAMRLTXFLDS0.ofcld.gz using gzip...
Can u plz help me wth the command..
Thanks in advance..
Hi I have one directory as "eAMRLTXFLDS0"...I am supposed to create a
eAMRLTXFLDS0.ofcld.gz using gzip...
Can u plz help me wth the command..
Thanks in advance..
man gzip will give you the answer.
sorry, It does not, it gives a different answer than what you are looking for..
I think you should use it in combination with tar..
I hope its not too late....
you could do something like this...
gzip -c <yourfile> > <dest file>
<your file> will be the extracted directory and the <dest file> will be the gzipped form of your dir!!!
Regards
How about:
tar -cvf - <directory name> | gzip -c > <directory name>.tar.gz
tar czf directory.tgz directory