|
|
#1 |
|
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Oct 2012
Device: Sony PRS 650
|
command line batch to change title etc.
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. |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,538
Karma: 1240400
Join Date: Jun 2009
Location: Madrid, Spain
Device: Pink Sony Prs-350, Kobo Mini, iPhone, iPad
|
Yes, it is possible, you should use the command ebook-meta (calibre manual describes it).
__________________
Ciao Terisa de Morgan
|
|
|
|
|
Enthusiast
|
|
|
|
#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')
|
|
|
|
|
|
#4 |
|
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Oct 2012
Device: Sony PRS 650
|
No one, who can write this command line?
|
|
|
|
|
|
#5 | |
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,419
Karma: 11289119
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7, Sony PRS-950, Sony PRS-505, PRS-300
|
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.
__________________
-- Good Reading, Walt -- 20GB of free CLOUD STORAGE: Use this link to sign up for a free 15GB Copy.com cloud storage account and we both get an extra 5GB of free space. Last edited by DoctorOhh; 10-14-2012 at 10:16 AM. |
|
|
|
|
|
|
#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. |
|
|
|
|
|
#7 |
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,419
Karma: 11289119
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7, Sony PRS-950, Sony PRS-505, PRS-300
|
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.
__________________
-- Good Reading, Walt -- 20GB of free CLOUD STORAGE: Use this link to sign up for a free 15GB Copy.com cloud storage account and we both get an extra 5GB of free space. |
|
|
|
![]() |
| 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 |