Computing.Net > Forums > Unix > gzip multiple files into one

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

gzip multiple files into one

Reply to Message Icon

Name: anilcgowda
Date: September 1, 2005 at 15:30:55 Pacific
OS: UNIX
CPU/Ram: 1GB
Comment:

Hi,

How to gzip multiple files into one .gz file.
Ex: I have 3 files - a1.txt a2.txt a3.txt
I want to zip them into aall.gz and later when I unzip, it should unzip into a1.txt, a2.txt a3.txt.

I tried gzip -c a1.txt a2.txt a3.txt > aall.gz. This concatenates the files. But, I want the original files separately when I unzip.

Thanks,
Anil



Sponsored Link
Ads by Google

Response Number 1
Name: narsman
Date: September 1, 2005 at 17:40:09 Pacific
Reply:

Did you try tarring the files then gzip it?


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: gzip multiple files into one

Awk: parsing multiple files into one www.computing.net/answers/unix/awk-parsing-multiple-files-into-one/8410.html

break large file into multiple file www.computing.net/answers/unix/break-large-file-into-multiple-file/5410.html

Check Multiple File Exists www.computing.net/answers/unix/check-multiple-file-exists/4775.html