Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 10-18-2013, 02:49 PM   #1
karlpov
Junior Member
karlpov began at the beginning.
 
karlpov's Avatar
 
Posts: 6
Karma: 10
Join Date: Dec 2011
Device: Nook
Lightbulb Extracting epubs from calibre library folder

This may seem pretty elementary to some of you, but it took me a while to devise a command line to extract the epubs only (no subfolder, no cover illo, no extra opf file) from a calibre library folder.

First get a command line (this is in an Accessories folder on my start bar). Then navigate to the library folder so that its path shows on the command line. Then, assuming (for instance) that you want to deposit the titles in c:\temp\nookbooks, this would be the command:

for /r %d in (*.epub) do copy "%d" c:\temp\nookepub

This can of course be used for other formats, substituting (*.pdf) or (*.mobi) or (*.az3) or whatever for (*.epub).
karlpov is offline   Reply With Quote
Old 10-18-2013, 02:57 PM   #2
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
You can do that from within Calbre using the Save to Disk feature with an appropriate template set and also the options to not include the cover or opf files.

Last edited by itimpi; 10-18-2013 at 03:11 PM.
itimpi is offline   Reply With Quote
Advert
Old 10-18-2013, 03:09 PM   #3
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
Also, if you use the save to disk feature, the epub will have updated metadata and you can create subdirectories based on the metadata and also change the filename.
Adoby is offline   Reply With Quote
Old 10-18-2013, 03:27 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,938
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by karlpov View Post
This may seem pretty elementary to some of you, but it took me a while to devise a command line to extract the epubs only (no subfolder, no cover illo, no extra opf file) from a calibre library folder.

First get a command line (this is in an Accessories folder on my start bar). Then navigate to the library folder so that its path shows on the command line. Then, assuming (for instance) that you want to deposit the titles in c:\temp\nookbooks, this would be the command:

for /r %d in (*.epub) do copy "%d" c:\temp\nookepub

This can of course be used for other formats, substituting (*.pdf) or (*.mobi) or (*.az3) or whatever for (*.epub).
The CLI (calibredb) has commands that export with updated metadata.
RTFM the Comandline Interface pages for more usage parameters
theducks is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flatten out calibre library folder? kalex Calibre 11 10-13-2017 09:02 PM
Folder names in calibre library AlexBell Library Management 17 06-19-2014 04:49 PM
Moving Calibre Library Folder Klippy Calibre 11 09-15-2013 12:48 PM
Why the library folder name contain a calibre id lisposter Library Management 5 02-06-2012 09:51 AM
Moving library folder outside calibre - than change within. myle00 Calibre 6 08-16-2011 07:08 AM


All times are GMT -4. The time now is 04:44 AM.


MobileRead.com is a privately owned, operated and funded community.