New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

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

All about dictionaries

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

Postby jxt_hbtm » Sat Dec 10, 2011 1:17 pm

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!
jxt_hbtm
 
Posts: 8
Joined: Sat Dec 10, 2011 12:41 pm

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

Postby jxt_hbtm » Sat Dec 10, 2011 3:07 pm

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.
jxt_hbtm
 
Posts: 8
Joined: Sat Dec 10, 2011 12:41 pm

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

Postby Novikov » Wed Jan 25, 2012 6:09 pm

Try 7-zip. It worked for me when I had to compress LDOCE5's resource files.
Novikov
 
Posts: 164
Joined: Mon Jan 23, 2012 8:29 pm

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

Postby haibo_liao » Sat Apr 28, 2012 4:52 am

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!
haibo_liao
 
Posts: 1
Joined: Sat Apr 14, 2012 5:30 am

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

Postby ikm » Thu May 03, 2012 3:00 am

This forum is not for file sharing. Please ask elsewhere if you so desire.
ikm
Автор GoldenDict
 
Posts: 1595
Joined: Wed Feb 04, 2009 10:40 am


Return to Dictionaries

Who is online

Users browsing this forum: No registered users and 15 guests