I have some zip
files that are really large and I want to print them without extracting first. I am using zcat
and zless
to do that and then I redirect the output to a different application. When my zip
file contains more than one text file I receive the following error:
zcat tweets.zip >a
gzip: tweets.zip has more than one entry--rest ignored
How can I do what I want with zip
files that contain more than one text file?
Use the -p
option of unzip to pipe the output. Multiple files are concatenated. The -c
option does the same thing, but includes the file name in front of each file.