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 01-01-2021, 10:26 AM   #1
Logarithmic
Member
Logarithmic began at the beginning.
 
Logarithmic's Avatar
 
Posts: 14
Karma: 10
Join Date: Aug 2020
Device: IPad
Save to disk multiple authors with "comma" seperating, rather then Ampersand

Looking to change save to disk output to have "commas" separate authors, rather then "ampersands".

Example
Quote:
Tom Clancy Shadow of the Dragon - Marc Cameron & Scott Brick
should be
Quote:
Tom Clancy Shadow of the Dragon - Marc Cameron, Scott Brick
This is what I use to save to disk right now. I just somehow need to make the final {authors} section, swap & for ,
Code:
{authors:sublist(0,1,&)} - {series:re(:,\,)}/[{series:re(:,\,)} {series_index:0>2s}] - {title:re(:,\,)} - {authors}
Any help would be appreciated!
Logarithmic is offline   Reply With Quote
Old 01-01-2021, 10:58 AM   #2
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,190
Karma: 1988646
Join Date: Aug 2015
Device: Kindle
{authors:'re($,'&',',')'}
capink is offline   Reply With Quote
Advert
Old 01-01-2021, 11:09 AM   #3
Logarithmic
Member
Logarithmic began at the beginning.
 
Logarithmic's Avatar
 
Posts: 14
Karma: 10
Join Date: Aug 2020
Device: IPad
Dude you are a boss!!! Thanks a ton! Hopefully if anyone else ever has this question, this will come up with search results! Thanks again!
Logarithmic is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre "save to disk", "last_modified" field format bodiccea Calibre 20 09-01-2018 04:09 AM
Multiple regexes in "save book to disk" template? Phssthpok Library Management 1 07-12-2018 04:20 AM
How do you use custom column data as a folder name in "save to disk"? Beansie Calibre 3 05-27-2018 03:04 PM
"Add a book" template like "Save to disk"? vr8ce Library Management 10 06-09-2017 08:16 AM
Request: separate "Preferred output format" from "Save to Disk" format Katsunami Calibre 2 08-24-2014 11:23 AM


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


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