I unzipped a file from a script with "unzip filename.zip" and in the terminal I see all the unzipped file names. I would like to unzip the file without printing those names so that I have a clean terminal interface.
I am unzipping a file with approximately 3 million single text files - the zip-file itself is around 12 GB in size. It's not multi-part - it's just one large zip file btw. I do not have the original data - all I have is the zipped file which means I cannot try to zip the content again (just so you know).
The problem is that as I unzip
, at some point, I get
..
file #1207565: bad zipfile offset (local header sig): 9570252890
file #1207566: bad zipfile offset (local header sig): 9570254437
file #1207567: bad zipfile offset (local header sig): 9570255044
file #1207568: bad zipfile offset (local header sig): 9570256141
file #1207569: bad zipfile offset (local header sig): 9570256786
file #1207570: bad zipfile offset (local header sig): 9570257539
..
This does not seem to affect every subfolder or file respectively in the archive but for a lot of them the process seems to fail.
At this point it's hard for me to guess if the packing or the unpacking is the problem
Are there any workarounds I could try on my side?
Ok i need to extract a zip archive named 'example.zip' but i would like to extract it as a different file name, not 'example' being my folder name, how could i extract a zip archive using unzip called 'example.zip' and extract it as the folder name 'examplefold'
I don't think that I'm the only one with this problem, but unfortunately I wasn't able to find the proper answer between previously asked questions.
It is a very common procedure on torrent sites where the content is split in many small archives. Sometimes, those small indexed zip archives are containing another rar archives inside.
So, my question is: how to you handle this problem? How to you recursively unpack those files?
I try to unzip a zip file, but got an error:
$ unzip COCR2_100.zip
Archive: COCR2_100.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
note: COCR2_100.zip may be a plain executable, not an archive
unzip: cannot find zipfile directory in one of COCR2_100.zip or
COCR2_100.zip.zip, and cannot find COCR2_100.zip.ZIP, period.
I googled but didn't find a solution. I was wondering why it is and how I should fix it? Thanks!
The zip file can be downloaded from COCR2_100. It is an application, and here is its website http://users.belgacom.net/chardic/cocr2.html.
My OS is 10.10.