|  03-19-2018, 11:48 AM | #1 | 
| Enthusiast  Posts: 28 Karma: 10 Join Date: Oct 2015 Device: none | 
				
				Name and Surname
			 
			
			Hello, someone know if there is a way to automatic invert the name and surname of selected one or more files already in Calibre? Thanks, Gianni Last edited by gianni_fed; 03-19-2018 at 11:53 AM. | 
|   |   | 
|  03-19-2018, 12:07 PM | #2 | 
| Well trained by Cats            Posts: 31,249 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | 
			
			Quality Check Plugin Fix (section) | 
|   |   | 
| Advert | |
|  | 
|  03-19-2018, 01:01 PM | #3 | |
| Wizard            Posts: 3,465 Karma: 10684861 Join Date: May 2006 Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20 | Quote: 
 Select books Right click Edit metadata Edit metadata in Bulk Search and replace Search field: authors Search for: ([^,]*), (.*) Replace with: \2 \1 Search mode: Regular expression Check results in preview Click OK Do not forget to make backup of the library before experimenting with bulk search-and-replace of metadata using Regular Expressions. Do not hesitate to ask if you need deeper explanation. | |
|   |   | 
|  03-22-2018, 09:25 AM | #4 | 
| Enthusiast  Posts: 28 Karma: 10 Join Date: Oct 2015 Device: none | 
			
			Hello, thanks for your reply. I would like to know if it's possible that, when I select one or more files, with authors like: "John Wayne" "John Ford" ....... to have an option for to automatically change it/them in: "Wayne, John" "Ford, John" ..... but, maybe, this is a question to pose to the programmers of this wonderful program... Many thanks. Gianni Last edited by gianni_fed; 03-22-2018 at 09:28 AM. | 
|   |   | 
|  03-23-2018, 05:34 AM | #5 | |
| Wizard            Posts: 3,465 Karma: 10684861 Join Date: May 2006 Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20 | Quote: 
 Select books Right click Edit metadata Edit metadata in Bulk Search and replace Search field: authors Search for: ([^ ]*) (.*) Replace with: \2, \1 Search mode: Regular expression Check results in preview Click OK Be careful, I have not tested this Regular Expression. It might not work properly for authors with three names. | |
|   |   | 
| Advert | |
|  | 
|  03-23-2018, 05:57 AM | #6 | 
| eBook Enthusiast            Posts: 85,560 Karma: 93980341 Join Date: Nov 2006 Location: UK Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6 | 
			
			The problem is that there's no way to get it right for all names, the result of which is that you have to manually check every name. Eg, consider the British author Alexander McCall Smith. His surname is "McCall Smith", but there's no way any algorithm can know that - it's something that the user has to know, and adjust the metadata accordingly. Do you really buy so many books that you can't simply edit the metadata as you add each book to Calibre? | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| reverse name - surname of author? | Lauraq | Calibre | 10 | 11-12-2013 05:51 AM | 
| Folder sorting: mixed "name surname" and "surname, name"! | shuusaku | Library Management | 2 | 10-18-2013 01:43 AM | 
| Author, surname and givenname | Wilcoo | Calibre | 15 | 09-17-2011 07:19 PM | 
| Authors surname first ? | geordiejohn | Calibre | 5 | 12-09-2010 11:33 AM | 
| Import with surname, first name | flinx1 | Calibre | 0 | 05-04-2009 03:24 PM |