Click to See Complete Forum and Search --> : unzip large files


agiltinan
04-14-2004, 09:14 AM
Hi all,
I am relatively new to Linux and have come upon a problem. When i try to unzip a particular file(which contains data) the system cant see the file. The error 'cannot find file, file.zip or file.ZIP'. I can get unzip working on smaller files. I believe the problem is due to the size of the file. The zipped file is ~6GB. I am aware of previously limitations in the size of zipped files but i thought these were overcome. Am i doing something wrong or is there a patch i can download that will enable me to unzip these files?
Thank you in advance
Alan

dvdnut
04-14-2004, 09:20 AM
pardon me for asking but why would you want a 6gb zip file anyway?

surely backup facilities these days enable to burn onto cd's and with that you can read theam without having to unzip them

besides if its 6gb zipped up, do you know what size it will be uncompressed?

Dark Ninja
04-14-2004, 09:30 AM
Yeah...that's a nice sized ZIP file.

Anyway, what are you using to ZIP/UNZIP this thing? (Commands/programs/etc.) That could make a difference.

agiltinan
04-14-2004, 09:33 AM
Zipping was essential since no cdrom could burn the amount of data we were taking and none was available in any case. The zipping enabled us to obtain twice as much data as not compressing since we only had 240GB of disk space and the rates involved meant we could fill that up in no time whatsoever.
I can check the size of the unzipped file on my windows machine. its about 67% compression ratio

dvdnut
04-14-2004, 09:39 AM
we're talking over 30gb uncompressed then

hope you have the space!

could you not use stuff like unzip or gunzip?

if u use X then there are tools in most if not all desktop env's that have uncompressing tools

one i use in kde is ARK

mdwatts
04-14-2004, 09:56 AM
Originally posted by agiltinan
When i try to unzip a particular file(which contains data) the system cant see the file. The error 'cannot find file, file.zip or file.ZIP'.

Cannot find the zip file as in

unzip <filename>.zip

I get the same "unzip: cannot find filename.zip, filename.zip.zip or filename.zip.ZIP." error if the file doesn't exist. Are you sure you are specifying the correct zip filename? Check with

ls *.zip

in the directory that contains the zip file.

Remember that Linux is case sensitive, so you need to type the filename correctly.

Filename.zip

is not the same as

filename.zip

or

fileName.zip

agiltinan
04-14-2004, 11:59 AM
I am specifying the correct file but still getting the same error.

I have just tried the unzip function on a smaller data file (50MB) and it works fine..

its just the very large files which it will not work on

mdwatts
04-14-2004, 12:01 PM
Originally posted by agiltinan
I am specifying the correct file but still getting the same error.


Could you please provide a directory listing that contains the zip file?

ls -al

Plus the exact command (upper/lower case) you are using.

agiltinan
04-14-2004, 12:22 PM
ls -la gives the following

total 6058759
drwxr-xr-x 2 iraf iraf 112 2004-04-14 10:12 .
drwxr-xr-x 4 iraf iraf 96 2004-04-14 05:58 ..
-rwxrwxrwx 1 iraf iraf 6197836395 2004-04-14 05:50 night3.zip
-r-xr-xr-x 2 iraf iraf 276185 2004-04-14 07:54 timing.txt

The command i am using is

unzip night3

mdwatts
04-14-2004, 12:26 PM
Originally posted by agiltinan

The command i am using is

unzip night3

What happens with

unzip night3.zip

agiltinan
04-14-2004, 12:29 PM
then i get the the same error but an extra .zip e.g.

'cannot find night3.zip, night3.zip.zip ot night3.zip.ZIP'

mdwatts
04-14-2004, 01:08 PM
You could try

gunzip night3.zip

or

gzip -d night3.zip

Anything in the unzip manpage (man unzip) that explains why it doesn't work with that particular zip file? Options you can add at the commandline?

agiltinan
04-15-2004, 05:21 AM
still doesnt work..

the gzip and gunzip give the following error

'unknown suffix -- ignored'

mdwatts
04-15-2004, 11:46 AM
Are you (user) the owner of night3.zip and have full access in the directory the zip file resides in?

Have a look through the unzip manpage (man unzip) to see if there are any options you can try.

bradfordgd
04-15-2004, 12:16 PM
What do you get from typing "who am i"?

mdwatts
04-15-2004, 01:44 PM
Or 'whoami'. :)