• March 19, 2024, 02:55 AM
• Welcome, Guest. Please login or register.
Did you miss your activation email?
Perusing The Shelves

Author Topic: Possible for calibre to switch author to LN FN in metadata?  (Read 11131 times)

Offline scp-1404

  • PTS Newbie
  • *
  • Posts: 1
  • Rating : 0
I've found the method to sort books in calibre by author's last name.  However, what I really want to do is this:  when I convert a book from azw to epub, instead of saving the author's name as "John Jones", save it as "Jones, John" or "Jones John".  That way the book folders will also be named and sorted by author last name and when I use an e-reader, it will sort the books by LN/FN.   I'm using Pocket Reader for android on my phone, so if I can convince PR to sort for me without having to do anything in calibre that would be awesome.
 

Advertisement


Offline Shadow

Re: Possible for calibre to switch author to LN FN in metadata?
« Reply #1 on: April 10, 2020, 05:12 AM »
Its been a while, but I think this will do what you want......

Click Preferences bottom left corner
Click Adding books in the 3rd row down
Choose Reading Metadata Tab at the top
Check the box that says Swap Author first name and last name when reading from author file name
You are not allowed to view links. Register or Login
 

Offline GG drypen!

Re: Possible for calibre to switch author to LN FN in metadata?
« Reply #2 on: April 10, 2020, 02:47 PM »
I do that but in the edit meta data in bulk in reverse order though. 
In Search & Replace tab I have saved this.

LN/FN Swap.
You can do this you just need to reverse the name, remove the comma and add it after /2.
Search Field = Authors
Search For = (.*), (.*)
Replace with = \2 \1

Now, I did look around in Convert book but that wouldn't work since that is changing the book not the meta data so it won't work. It looks like you'll have to use both steps.

You are not allowed to view links. Register or Login
I've found the method to sort books in calibre by author's last name.  However, what I really want to do is this:  when I convert a book from azw to epub, instead of saving the author's name as "John Jones", save it as "Jones, John" or "Jones John".  That way the book folders will also be named and sorted by author last name and when I use an e-reader, it will sort the books by LN/FN.   I'm using Pocket Reader for android on my phone, so if I can convince PR to sort for me without having to do anything in calibre that would be awesome.
« Last Edit: April 10, 2020, 02:49 PM by GG drypen! »
 
The following users thanked this post: BBN

Tags: