03-16-2012, 06:40 PM | #1 |
Connoisseur
Posts: 99
Karma: 15776
Join Date: Dec 2011
Device: PB912 Matt White
|
Creating symbolic links
I'm using a genre-like field (called subject_path) with dot-separated values, which indicates the folder path, where an ebook should be stored using the store-to-disc feature, e.g.
"A.B.C" means <folder specified for store-to-disc>/A/B/C This field subject_path can contain several dot-separated values like "A.B.C, D.E.F, ..." When Calibre saves an ebook with subject_path "A.B.C, D.E.F, G.H.I, ..." to disc, I let it put the files under the first list item, i.e. .../A/B/C. What I want Calibre to do for the remaining items is creating symbolic links, i.e. .../A/B/C contains the real files, e.g. Java.pdf .../D/E/F would contain a symbolic link to Java.pdf in .../A/B/C .../G/H/I would contain a symbolic link to Java.pdf in .../A/B/C This way I will encounter Java.pdf even if I browse in .../G/H/I. Is there a possiblity to do this? If not, I think it could be a feature request for supporting creation of proxies. |
03-16-2012, 08:43 PM | #2 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Code:
{series[0]}-series/{series}/{series_index:0>2s} {title}_{id}_{authors} |
|
Advert | |
|
03-17-2012, 05:35 AM | #3 | |
Connoisseur
Posts: 99
Karma: 15776
Join Date: Dec 2011
Device: PB912 Matt White
|
Quote:
Look at this post I found, as it addresses the same issue with duplicates: https://www.mobileread.com/forums/sho...7&postcount=23 Krogenar has duplicates: ../BOOKS/FICTION/SCIENCE-FICTION/JULES, VERNE/Jules-Verne-Omnibus.epub ../BOOKS/FICTION/CLASSICS/JULES, VERNE/Jules-Verne-Omnibus.epub I want: ../BOOKS/FICTION/SCIENCE-FICTION/JULES, VERNE/Jules-Verne-Omnibus.epub ../BOOKS/FICTION/CLASSICS/JULES, VERNE/<symbolic link to Jules-Verne-Omnibus.epub in ../BOOKS/FICTION/SCIENCE-FICTION/JULES, VERNE> |
|
03-17-2012, 06:43 AM | #4 |
Connoisseur
Posts: 88
Karma: 200
Join Date: Nov 2010
Location: Dortmund, Germany
Device: Kindle Paperwhite (10. Generation)
|
I think this might get problematic as symbolic links are very operating and file system specific.
FYI File shortcut is not really the same as a symlink but ntfs does have symlinks. ;-) I was looking into this for something else and it seems that whis would be pretty compicated. Because you would have to make special cases for different operating systems AND different kinds of partitions. For instance, I don't think you can make a symlink on a fat32 partition (like a reader) on any OS. But please, someone proof me wrong, i would like to have symlinking for books |
03-17-2012, 06:57 AM | #5 | |
Connoisseur
Posts: 99
Karma: 15776
Join Date: Dec 2011
Device: PB912 Matt White
|
Quote:
|
|
Advert | |
|
03-17-2012, 08:11 AM | #6 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
(tweet) Foul |
|
03-17-2012, 08:15 AM | #7 | |
Connoisseur
Posts: 99
Karma: 15776
Join Date: Dec 2011
Device: PB912 Matt White
|
Quote:
|
|
12-11-2020, 04:53 PM | #8 |
Junior Member
Posts: 1
Karma: 10
Join Date: Dec 2020
Device: None
|
Sorry for bumping an ancient thread, but there is a point in this.
Not only exporting a library as symlinks to the Calibre library's individual files saves storage and time, but also one can represent their library in multiple templates. For me this becomes important when I want to share my ebooks over a network filesystem. If someone wants to download all ebooks related to psychology, they can use genre-based representation. If they want to copy psychology books published in 2020, they can browse genre/publish_year representation. |
12-11-2020, 06:27 PM | #9 | |
Bibliophagist
Posts: 34,557
Karma: 144552660
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Just curious since in one of my nephew's practice, they spend a good chunk of cash each month on the software that allows them to run a lending library with user ID, number of loans and loan length controls for their professional ebooks. |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Help] How to make a symbolic link? | iQQ | Amazon Kindle | 4 | 09-12-2014 12:31 PM |
Creating a periodical | hiperlink | Kindle Formats | 8 | 04-14-2011 05:23 PM |
Creating security | goingsp | Kindle Developer's Corner | 2 | 03-11-2011 12:38 AM |
Links to URLs work, internal links don't? | NewDay | ePub | 36 | 10-27-2010 04:09 AM |
Help with creating IMP, please | vivaldirules | Upload Help | 5 | 02-07-2008 10:53 PM |