Fri, Sep 29, 2017 11:04 pm

I received a zip file containing data captured with
tcpdump on
a Linux system. When I tried to open the zip file on my
MacBook Pro
laptop running OS X El Capitan by double-clicking on the file within the
Finder,
I saw an "unable to expand" error message stating "Error 2 - No such file or
directory." A Microsoft Windows user who downloaded the same zip file reported
that he was unable to open it, either. When I tried to unzip the file from
a
Terminal window using the
unzip utility, I saw an "End-of-central directory signature not found" error
message.

$ file AS2_Captures.zip
AS2_Captures.zip: Zip archive data, at least v2.0 to extract
$ unzip AS2_Captures.zip
Archive: AS2_Captures.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.
unzip: cannot find zipfile directory in one of AS2_Captures.zip or
AS2_Captures.zip.zip, and cannot find AS2_Captures.zip.ZIP, period.
$

Wed, Aug 06, 2014 9:00 pm

If you need to extract files from a .rar file on a Microsoft
Windows system, RARLAB, which
procues the WinRAR program that provides a GUI for dealing with RAR files on Microsoft
Windows systems, also provides a free utility, unrar,
which can be run from a command line on a Windows system. The utility
is available at WinRAR and
RAR archiver addons.

To use the program, you need to extract the unRAR.exe
file from the file you download. You can do so by simply double-clicking
on the unrarw32.exe file you downloaded. You will then be
prompted for a directory into which the unRAR.exe file
should be extracted.

The default installation directory is C:\Program
Files(x86)\Unrar. If you don't have access to install files
in that directory on a system, you can place it anywhere, e.g. in
"My Documents". So you don't need administrator level access to a
system to put the utility on a system or run it on a system.
There is only the one file, Unrar.exe file that you need. to
use the software.

If you see a Program Compatibility Assistant window
appear stating "This program might not have installed correctly, you
can simply click on "This program installed correctly" to have the
Unrar.exe file placed in the directory you chose, if
you have the appropriate access to place files in that directory..

You can see the options availble for the program by typing
unrar at a command prompt in the directory in which you
extracted unrar.exe.