View Single Post
Old 08-15-2017, 12:01 PM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Use the template
Code:
(?P<series_index>.+)(?P<series>---)(?P<title>.+)---(?P<author>.*)
You end up with series as ---, series_index as the book number, etc.

Next:
  1. Select all books with series ---.
  2. Use bulk metadata edit / search/replace to copy series_index into your custom column.
  3. Press OK to run the S/R. Bulk edit will close, leaving the books selected.
  4. Open bulk edit again.
  5. On the Basic metadata panel, check the "Clear series" box.
  6. Press OK
Don't do both operations with the same "OK" because (I think) the series will be cleared first making the series_index disappear before it is copied.

EDIT: Oh, and make sure that "Read metadata from file contents rather than file name" in the "Adding books" preference screen is not checked. Otherwise your template will be ignored.

Last edited by chaley; 08-15-2017 at 12:05 PM.
chaley is offline   Reply With Quote