View Single Post
Old 12-03-2010, 05:50 AM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by chaley View Post
If what you want to do is really change author_sort to contain only one author, then you can do that with search replace. Select all your books, then go to search replace (hit 'E').

Code:
Search mode: regular expression
source: author_sort
search:^(.*?)&.*$
replace:\1
dest: author_sort (or empty)
This will remove the second and subsequent authors from author_sort.

You should test this on a couple of books before whacking your library with it.
Another example of calibre's flexibility.
DoctorOhh is offline   Reply With Quote