![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Feb 2015
Device: PC & Multiple Kindles
|
Jumbled up export folder names?
Hi all - first time user.
I hope this hasn't been covered before. I did some searches, but I may not know the right thing to call it except per the title. I know I can't change the Library structure, but that doesn't work for me as an end product, so I need to do an export pretty much grouped by subject, so I'm using tags. I did a test on a small library and added some primary and secondary tags as a test. Literally test tags "Primary Tag 1" through "Primary Tag 4" and then two secondary tags. In preferences, I set my export structure as {tags}/{title}/{title} But when I export, it jumbles up the tag names. ![]() It looks like it's just randomly screwing it up, but when I start all over again including reatarting Calibre, it makes the same exact list like there's a reason it's doing it that way. Any ideas what's happening or what I'm doing wrong? Or am I even trying to make a genre/subject sorted export library incorrectly? Thanks for looking. |
![]() |
![]() |
![]() |
#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)
|
If the title is very long, calibre will truncate the total filepath in order to prevent Windows Filename Too Long errors.
How long are the titles, and how long is the filename path to the containing folder? |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Feb 2015
Device: PC & Multiple Kindles
|
Quote:
Thanks so much! Now more experimenting with tags - looks like they're used alphabetically for export folders, so I need to preference all my tag names with A, B, C, etc. or 1, 2, 3, maybe. then if it looks funny, I can do a windows global renamer to strip off the folder name prefixes. Or is there a better way? |
|
![]() |
![]() |
![]() |
#4 |
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)
|
Tags are sorted internally within calibre in alphabetical order, if you want them to be in a specific order you need to use a text column I believe -- which comes with its own problems.
![]() |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Feb 2015
Device: PC & Multiple Kindles
|
Thanks! I just tried it the way I was talking about - really not even using multiple numbers, though. I just put an "A" in front of of the Top level tag names, so I'll get "Gardening, Berries then "Gardening, Herbs" instead of "Berries, Gardening then Gardening, Herbs" after I use a simple little Windows utility to knock the prefixes off in post.
Thanks again! |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
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)
|
You can use an advanced template to process column data with regex. See: http://manual.calibre-ebook.com/template_lang.html
In this case, a list_re() Quote:
This should work: Code:
{tags:'list_re($,",","^[A-Z](.*)","\1")'} |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Folder names question | JMikeD | Calibre | 2 | 11-27-2012 01:35 PM |
PRS-T1 Invisible Folder names etc? | wjdzm | Sony Reader Dev Corner | 1 | 08-22-2012 07:18 PM |
How to export to folder by file type? | punknomad | Library Management | 5 | 05-12-2012 08:04 PM |
Parens after folder/file names | BrownSamurai | Calibre | 2 | 12-07-2011 02:45 AM |
Using Folder Names as Metadata | volkermord | Calibre | 7 | 08-24-2010 01:36 AM |