cannot find file.zip, file.zip.zip or file.zip.ZIP.

max2000

Verified User
Joined
Nov 7, 2004
Messages
144
Location
Europe
Hi,

I have a file on my directory, this file is called file.zip

On SSH window I type:

unzip file.zip

It is weird but I get this error:

cannot find file.zip, file.zip.zip or file.zip.ZIP.

But I am sure that the file.zip exists on this directory.

Any idea?
 
Try an absolute (e.g. /home/username/blah/blah/file.zip)

man unzip
Do you need to provide any options to the unzip command?
 
Thank you for your concern.

I tried with the absolute path with and without option, but it still doesn't find the filed.

I double checked the name, the path and even simplified the file name to just one letter a.zip but that changes nothing.
 
Presuming a filename of a.zip ...

Go to the directory where a.zip is located.

Try ls -al a.zip

if you get a line returned:

press the up-arrow key once so that "ls -al a.zip" again appears on the command line.

press ctrl-a so the cursor appears at the beginning of the command line.

press ctrl-d six times until only " a.zip" appears on the command line.

type "unzip" without the quotes.

Press the Enter key.

What do you get?

Jeff
 
Back
Top