View Single Post
Old 06-26-2010, 03:11 PM   #382
DrFaust
Junior Member
DrFaust began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2010
Device: Iphone
Batch ebook-meta

Is it possible to batch edit a lot of ebook with "ebook-meta" command?

I have 500 ".epub" books. Their languages is set to UND. I want to change them into "en". I can change one by one with ebook-meta command. but when I want to change all them I recive this error:
Code:
C:\Program Files\Calibre2>ebook-meta G:\Ebook\*.epub  -l en
Python function terminated unexpectedly
  (22, "invalid mode ('r+b') or filename") (Error Code: 1)
Traceback (most recent call last):
  File "site.py", line 103, in main
  File "site.py", line 85, in run_entry_point
  File "site-packages\calibre\ebooks\metadata\cli.py", line 156, in main
IOError: [Errno 22] invalid mode ('r+b') or filename: u'G:\\Ebook\\*.epub'
is there something wrong with the command that I used?
when I use it for only one Ebook, it does the job. Although I have to change the filename to something simple.

I have windows xp.
I can't use GUI (Calibre 0.7.5) to convert them all to epub again, because it takes so long and my cpu temp goes to 75 C.
DrFaust is offline