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 04-09-2020, 10:24 PM   #1
quinoche
Junior Member
quinoche began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2016
Device: bq Cervantes
Rename book file names

Hello!!!
How can I modify book file names template so I get book names in this order 'Surname, Name - Book title' and I can rename the ones that don't fit that template?
Thanks in advance!!!
quinoche is offline   Reply With Quote
Old 04-10-2020, 04:58 AM   #2
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: 31,048
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 quinoche View Post
Hello!!!
How can I modify book file names template so I get book names in this order 'Surname, Name - Book title' and I can rename the ones that don't fit that template?
Thanks in advance!!!
The Quality check Plugin is your best friend. (read all it does in the dedicated thread in the Plugin section of Calibre. It has 2 general tasks: Find exceptions. 2) Fix selected name (exceptions)

BUT first read the sticky https://www.mobileread.com/forums/sh...d.php?t=119175
( It is not a bad idea to review all Calibre Stickies )
Calibre folders follow how the names appear in the spreadsheet. BUT there is almost ZERO need for the user to look beneath the skirts (inside the Library folder). NEVER edit a file or folder name inside Calibre except by using Calibre to cause it. You will break the linkages
theducks is online now   Reply With Quote
Advert
Old 04-10-2020, 01:47 PM   #3
quinoche
Junior Member
quinoche began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2016
Device: bq Cervantes
Calibre has a lot of good plugins but also a lot of configurable options in itself and I am looking for the latter. I guess there must be some way to do it but I get lost among so many options...
quinoche is offline   Reply With Quote
Old 04-10-2020, 05:33 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,722
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Did you check this Sticky threat at the top of this subforum ==>> Plugboard, template, and custom composite column recipes

BR
BetterRed is offline   Reply With Quote
Old 04-10-2020, 06:09 PM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,181
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by quinoche View Post
Calibre has a lot of good plugins but also a lot of configurable options in itself and I am looking for the latter. I guess there must be some way to do it but I get lost among so many options...
I'm going to assume that you are not trying to change the names in the calibre library but rather when sent to your ereader.

I don't have a cervantes ereader but the plugin supports a Save template.

One friend of mine uses the following template for save to disk.
Code:
{author_sort:sublist(0,1,&)}/{title}/{author_sort:sublist(0,1,&)} - {series:| |}{series_index:0>5.2f| | - }{title}
This creates a directory from the first entry in the author sort, a subdirectory from the book title and then the ebook file with the name as first entry in the author sort, series if present, title.

A couple of examples of the output:

Code:
Piper, H. Beam
		Little Fuzzy
			Piper, H. Beam - Little Fuzzy.epub
		Space Viking
			Piper, H. Beam - Space Viking
Flint, Eric
		An Oblique Approach
			Flint, Eric - Belisarius 01.00 - An Oblique Approach.epup
		Portal
			Flint, Eric - Boundary 03.00 - Portal.epub
The reason for the limit to 1 for the author is simply that I ran into issues with several anthologies where every flipping author was listed and calibre truncated to fit the name length limit.
DNSB is offline   Reply With Quote
Advert
Old 04-11-2020, 08:17 AM   #6
quinoche
Junior Member
quinoche began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2016
Device: bq Cervantes
Quote:
Originally Posted by DNSB View Post
I'm going to assume that you are not trying to change the names in the calibre library but rather when sent to your ereader.
I'm trying to change the names in the Calibre library
quinoche is offline   Reply With Quote
Old 04-11-2020, 08:31 AM   #7
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
Quote:
Originally Posted by quinoche View Post
I'm trying to change the names in the Calibre library
you cant. IF you do, you break it.
read FAQ
stumped is offline   Reply With Quote
Old 04-11-2020, 08:53 AM   #8
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: 31,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
AGAIN
Quality check plugin

A useful tool
To standardize the entries (almost any. One kind at a time)
The CHECK part only identifies (temporary mark) issues. You use other tools to fix selected entries. Some are part of Calibre (Bulk metadata edit), some others are in the FIX section of this PI. For advanced users, DaltonST has some really deep level tools

SORTING is set in Preferences: TWEAKS
ID: author_sort_copy_method
ID: title_series_sorting
<and there are some more>
After changing any of these settings, you will need to use the QC PI to identify, and the Bulk Metadata Edit to recompute the sorts (there is tick boxes. Tick the one needed. OK. that is all you do)

AND AGAIN
Stop looking 'under the skirts'. It will get you into a deep mess if you touch.
Calibre will deliver books (Send to, Save as)to a device, without ever knowing where IN the Library, they were stored.
theducks is online now   Reply With Quote
Old 04-11-2020, 10:25 AM   #9
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
Also, save to disc will deliver copies of books with a filename template of your choice.
Don't touch the library names
stumped is offline   Reply With Quote
Old 04-11-2020, 12:48 PM   #10
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,181
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by quinoche View Post
I'm trying to change the names in the Calibre library
Check the calibre FAQ. Pay special attention to the section titled Why doesn’t calibre let me store books in my own directory structure?.

Please note the FAQ has a procedure for changing the author name display from FN LN to LN, FN. It's a bit of a pain but it's the only way to change that order without breaking calibre.

Code:
When changing from FN LN to LN, FN, it is often the case
that the values in author_sort are already in LN, FN format.
If this is your case, then do the following:

        Set the author_sort_copy_method tweak to copy as described above.
        Restart calibre. Do not change any book metadata before doing the remaining steps.
        Open the Manage authors dialog. Press the copy all author sort values to author button.
        Check through the authors to be sure you are happy. You can still press Cancel to abandon the changes. Once you press OK, there is no undo.
        Press OK, at which point calibre will change the authors in all your books. This can take a while.


As far as manually changing anything in the calibre library, treat the calibre library as a black box and do not go poking behind the curtain.

Last edited by DNSB; 04-11-2020 at 12:54 PM.
DNSB is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rename duplicate forum names JSWolf Feedback 1 03-24-2018 09:36 PM
Converted book file names 7cats Conversion 7 03-02-2018 02:32 AM
Organizing the book / file names Notjohn Sigil 5 02-19-2016 01:36 AM
PRS-950 Changing file names / Book titles and authors sarabadara Sony Reader 2 12-26-2010 05:28 PM
Is there a program that can read your book file names and make a list? GatorDeb Reading and Management 6 09-26-2008 12:57 PM


All times are GMT -4. The time now is 01:44 PM.


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