|  12-28-2015, 07:27 PM | #1 | 
| Groupie            Posts: 199 Karma: 76476 Join Date: Feb 2012 Location: Poland Device: none | 
				
				File names and slash / in the title
			 
			
			I have a number of books (magazines, to be more specific) with '/' in the title, e.g. 'Newsweek 2015/52'. When I save files in Calibre, using a simple template featuring {title}, all slashes are replaced with underscores ('Newsweek 2015_52.pdf'). In Calibre Companion, I get a folder (Newsweek 2015) with a file inside of it (52.pdf), i.e. Newsweek 2015/52.pdf is understood as a path and gets split. Is there any way to replace / with _ inside for file names in Calibre Companion, too? I hope there is another solution than changing titles in Calibre. | 
|   |   | 
|  12-29-2015, 03:15 AM | #2 | 
| Grand Sorcerer            Posts: 12,525 Karma: 8065948 Join Date: Jan 2010 Location: Notts, England Device: Kobo Libra 2 | 
			
			Just to be sure, are you using CC's template system to generate file names? If so, what exactly is the template?
		 | 
|   |   | 
|  12-29-2015, 04:07 AM | #3 | 
| Groupie            Posts: 199 Karma: 76476 Join Date: Feb 2012 Location: Poland Device: none | 
			
			I use the CC's template system, with the option "Use CC template everywhere" and the {title} - {authors} template.
		 | 
|   |   | 
|  12-29-2015, 04:51 AM | #4 | 
| Grand Sorcerer            Posts: 12,525 Karma: 8065948 Join Date: Jan 2010 Location: Notts, England Device: Kobo Libra 2 | 
			
			Thanks. I have changed CC to change slashes and backslashes in template items to "_". This is what calibre does. The change will be in the next beta. Note that explicit slashes in templates (e.g., {title}/{authors}) will not be replaced. | 
|   |   | 
|  12-29-2015, 05:04 AM | #5 | 
| Groupie            Posts: 199 Karma: 76476 Join Date: Feb 2012 Location: Poland Device: none | 
			
			Thanks! Looking forward to the release. And explicit slashes are, well, explicit for a reason   | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| save to file should take title and not title sort | abuck | Conversion | 1 | 10-13-2013 11:56 PM | 
| Seeing file names? | degree6 | Calibre | 5 | 04-26-2013 05:21 PM | 
| File names in File explorer | vvilmos | Onyx Boox | 5 | 10-05-2012 07:40 AM | 
| Cleaning Title Names using Search and Replace | JTAL604622 | Calibre | 2 | 05-24-2011 05:23 AM | 
| File Names | Vulcan | Sony Reader | 4 | 01-02-2009 04:03 PM |