10-11-2012, 11:25 AM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2012
Device: Sony PRS 650
|
command line batch to change title etc.
Is it possible to write a batch file for the command line, that changes the author, title, series, or series n° of multiple books?
Together with friends I collect pulp fiction, and we maintain the books and stories in a calibre library. We do a lot of metadata-editing. Until now each of us updates his library manually. We are looking for a way to automate the metadata-update and got the idea, that this is perhaps possible with the calibre command line. But we don't know, how to write the proper commands and to put them in a batch file. Your help is most appreciated. |
10-11-2012, 12:30 PM | #2 |
Grand Sorcerer
Posts: 6,227
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Yes, it is possible, you should use the command ebook-meta (calibre manual describes it).
|
10-12-2012, 04:31 AM | #3 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2012
Device: Sony PRS 650
|
Thanks for your response. I'd already found the 'ebook-meta' command in the manual. But I don't know how to use it. Can you or somebody else please give me an example how such a command actual would look like. (F.e. i want to change 'Edgar Rice Burroughs - The Man-Eater' from 'Jungle Tales 02' to 'Jungle Adventures 01')
|
10-14-2012, 08:56 AM | #4 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2012
Device: Sony PRS 650
|
No one, who can write this command line?
|
10-14-2012, 09:54 AM | #5 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Code:
C:\Users\Walt>ebook-meta "C:\Dropbox\Calibre Portable\Calibre Library\Edgar Rice Burroughs\The Man-Eater (1898)\The Man-Eater - Edgar Rice Burroughs.epub" -s "Jungle Adventures" -i 1 Update: This updates the metadata in the book not the library. Last edited by DoctorOhh; 10-14-2012 at 10:16 AM. |
|
10-14-2012, 05:08 PM | #6 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2012
Device: Sony PRS 650
|
Thanks DoctorOhh, that helped a lot. If I see it right, the command needs the database id (in your example: 1898), so unfortunately it's not possible to write one edit batch and contribute it to everybody in our collectors group, because the id's are different for each members library, as we checked. But thanks again.
Last edited by boell; 10-14-2012 at 05:11 PM. |
10-14-2012, 06:42 PM | #7 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
It does not require the database id, this info is just part of the path. You could put your book in C:\ and it would work fine.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
escaping spaces in command line --title | nimblebooks | Conversion | 4 | 11-23-2011 01:31 PM |
ebook-convert: change settings from command line | miwie | Calibre | 1 | 11-30-2010 02:05 PM |
Change To Internal Name via Command Line | nkormanik | Calibre | 6 | 10-19-2010 06:01 PM |
Command Line Batch Adding of Epubs | nkormanik | Calibre | 6 | 10-19-2010 08:04 AM |
adding books via command line in msdos batch | FlaKate | Calibre | 1 | 12-25-2009 01:12 AM |