Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 07-10-2018, 10:37 AM   #1
Phssthpok
Addict
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 366
Karma: 95229
Join Date: Nov 2014
Device: Horrible Kindle
Multiple regexes in "save book to disk" template?

A while ago I lost my settings, including the save-to-file filename template. For the directory name I'm now using {author_sort:re( & .*$,)} which takes out all but the first author. My old RE also stripped out non-word characters except for [,' -], but I can't remember how to do it in combination with stripping out all but the first author...

Can anyone point me in the right direction?
Thanks...
Phssthpok is offline   Reply With Quote
Old 07-12-2018, 04:20 AM   #2
Phssthpok
Addict
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 366
Karma: 95229
Join Date: Nov 2014
Device: Horrible Kindle
Well, I did it like this:

{author_sort:re(([^\w\, '-]| & .*$),)}

but I'm sure that's not how I did it before...
Phssthpok is offline   Reply With Quote
Reply

Tags
save to file, template

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Save to disk" template problem Phssthpok Library Management 2 05-30-2018 04:30 AM
"Add a book" template like "Save to disk"? vr8ce Library Management 10 06-09-2017 08:16 AM
Title format in "save book to disk"? Phssthpok Library Management 5 11-26-2014 05:18 AM
Request: separate "Preferred output format" from "Save to Disk" format Katsunami Calibre 2 08-24-2014 11:23 AM
Changing "Save Template" not working? monkbythesea Calibre 10 08-04-2010 03:30 AM


All times are GMT -4. The time now is 01:07 AM.


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