|
|
#1 |
|
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Mar 2011
Device: Awful Hanvon N518
|
Shorten files name when saving to disc
This is the file name that calibre saved to disc from the template folder
{#location}/{title}-{authors} This is Brilliant_ CBT, NLP, Confidence, Memory Training, Interview Answers, Negotiations, Selling, Presentation & Networking-Stephen Briers & Richard Hall & Jeremy Cassell & Susan Hodgson & Mike McClement & Steven D'Souza How can i shorten it? Thanks |
|
|
|
|
|
#2 |
|
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Depends how you want to shorten it. See Preferences ==> Saving books to disk
I prefer the following template, modified from the original: Code:
{author_sort:list_item(0,&)}/{title}/{title} - {authors:list_item(0,&)}
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,030
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@theaccountant - and I would have moved the strapline/subtitle - "CBT, NLP, Confidence..." - out of the Title column into a custom column immediately after adding the book. BR |
|
|
|
|
|
#4 |
|
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Mar 2011
Device: Awful Hanvon N518
|
eschwartz,
Thank you for your very fast response. I adapted it to this {title:shorten(30,-,8)} - {authors:list_item(0,&)} However I've been puzzling how to select only the first 3 words of title and last one. BetterRed your solution of moving the strapline may help although its means another custom column. At the moment some straplines i kill others i keep depending on weather i feel they add value to the title. i can send the contents after the colon to a new column strapline, but cannot replace the contents before the colon as the new title. What w#is the correct regex here? Thanks |
|
|
|
|
|
#5 |
|
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Find:
Code:
([^:]*):.* Code:
\1 |
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Saving Books to Disc - Some Help Please? | Alidai | Library Management | 1 | 10-28-2013 03:40 AM |
| Saving files to disc | RichardP | Conversion | 9 | 12-14-2012 07:55 PM |
| Saving to disc | wjt | Library Management | 5 | 03-24-2012 06:03 PM |
| Saving to Disc | deddajay | Library Management | 2 | 01-15-2012 04:02 PM |
| saving-to-disc feature changes my titles ? | CalibreUsers | Calibre | 2 | 11-24-2010 06:07 AM |