Page 1 of 1

(Linux) LDOCE5.dsl.files.zip contains too many files !

PostPosted: Sat Dec 10, 2011 1:17 pm
by jxt_hbtm
My OS is Fedora 12.

Recently I downloaded Longman-DOCE5.dsl, but the zip file containing images and audios, named like LDOCE5.dsl.files.zip, cannot be recognized by GoldenDict.

I tried to unzip it in Windows 7 (succeeded) , then zip it in Fedora, which failed with an error:
"bash: /usr/bin/zip: Argument list too long"

I realized the zip file contains too many files.
But how can I fix it?

Can I split the zip file into two or more?
or just leave it an unzipped folder?
can GD recognize them?

Thanx very much!

Re: (Linux) LDOCE5.dsl.files.zip contains too many files !

PostPosted: Sat Dec 10, 2011 3:07 pm
by jxt_hbtm
For other guys' reference, I just found a solution in an old topic:
Code: Select all
find . \( -name "*.wav" -o -name "*.jpg" \) -print0 | xargs -0 zip -q filebasename.dsl.files.zip -@


since the .dsl.files.zip I downloaded cannot be recognized by GD , I unzipped it in Windows 7, then zipped them using the command above in Fedora, and now it works!

so, there may be something different between the Windows zip file and the Linux one.


btw: seems the command is not efficient. it took a fairly long time to create a 1.3G-zip-file.

Re: (Linux) LDOCE5.dsl.files.zip contains too many files !

PostPosted: Wed Jan 25, 2012 6:09 pm
by Novikov
Try 7-zip. It worked for me when I had to compress LDOCE5's resource files.

Re: (Linux) LDOCE5.dsl.files.zip contains too many files !

PostPosted: Sat Apr 28, 2012 4:52 am
by haibo_liao
Hi, I have been looking for this file for years. All the links I found online are no longer available.

Would you please tell me where you found this file?

Thx!

Re: (Linux) LDOCE5.dsl.files.zip contains too many files !

PostPosted: Thu May 03, 2012 3:00 am
by ikm
This forum is not for file sharing. Please ask elsewhere if you so desire.