|11-16-2012, 01:31 PM||#1|
Join Date: Nov 2012
how to avoid non alfanumeric characters inside Calibre folder?
I have ONE issue with the folders and files in the Calibre library. No, I do not want to change its structure! I HAVE read the post titled "Want to change the folder structure of the Calibre library?" at
https://www.mobileread.com/forums/sho...d.php?t=119175 and understand the point.
I don't care how Calibre structures files and folders in its library, or which names it chooses.
My ONLY question about this is: can I just tell Calibre to use ONLY alfanumeric characters plus dash and underscore for all those folder and file names, avoiding parentheses, spaces and what not? I haven't recognized any option in the user interface to do it. I would be willing to hack the code, if I had the right pointers to where and what to change.
Having files and folder names without "weird" characters would be really great for me, as it would let me keep unchanged the many scripts I already run for backups and other administrative tasks, and also guarantee that I can move the whole library to many filesystems, online storage, physical media, whatever without any "library rebuilding" or similar manual operations.
If it matters, I'm using Calibre 0.8.33 on Linux
Thanks in advance for any feedback,
|11-17-2012, 01:49 AM||#2|
US Navy, Retired
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Welcome to Mobileread.
I don't believe there is a way to do what you want to do, but every time I think that, I'm proved wrong. The main developer is away for a few more days. Maybe someone else will stop by and prove me wrong.
|11-17-2012, 09:56 PM||#3|
creator of calibre
Join Date: Oct 2006
Location: Mumbai, India
Simply change the construct_file_name and construct_path_name functions in database2.py. Instructions for running from source are in the User manual.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|OPF inside OEBPS folder - Obligatory or strongly recommended ??||Diegnum||ePub||7||06-26-2012 09:28 AM|
|non-English characters in calibre library folder structure||ursus101||Library Management||3||09-11-2011 07:37 PM|
|Page-break-inside:avoid and mobi||AlexBell||Kindle Formats||3||06-01-2011 06:03 AM|
|Can you make a folder inside a Collection on Kindle?||davtay||Amazon Kindle||20||01-14-2011 10:52 PM|
|Is it possible to avoid the numbers between parenthesis in the folder name of a book?||superplinio||Calibre||5||11-08-2009 09:52 PM|