Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to solve "unzip: cannot find or open" error in linux OS [closed]

Tags:

linux

shell

zip

I tried to extract my file on the linux command line:

unzip myfile.zip

But this error occurred:

unzip: cannot find or open myfile.zip, myfile.zip.zip or myfile.zip.ZIP
like image 717
Zay Ya Avatar asked Jun 23 '15 09:06

Zay Ya


3 Answers

unzip cannot find the file myfile.zip. Make sure the file exists in your current working directory. You can also try to provide an absolute path.

like image 78
NaN Avatar answered Nov 09 '22 01:11

NaN


unzip -d /zip osTicket-v1.10.zip

/zip is a directory osTicket-v1.10.zip = zip file

like image 1
Thulasidhasan .M Avatar answered Nov 09 '22 01:11

Thulasidhasan .M


Make sure the folder was not partially transferred. I got this error due to an incomplete folder sftp. When I re-transferred it unzipped fine.

like image 1
kxb35 Avatar answered Nov 09 '22 03:11

kxb35