|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Librocubicularist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 617
Karma: 11908623
Join Date: Dec 2013
Location: Germany
Device: PocketBook InkPad 3 & Touch HD 3, Kobo Clara HD, Kindle Paperwhite 5
|
How to send books from different libraries to different folders on device?
I have two libraries and one device (Pocketbook Touch Lux) with a folder structure. I would like to have the books from the first library in Folder A and the books from the second library in Folder B on my device. Is it possible to do this automatically?
|
![]() |
![]() |
![]() |
#2 |
Handy Elephant
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
|
One way you could test is to add the value of a custom column to the template used when saving the books. For instance a column named "folder" and put an "A" or a "B" in that column for each book.
{#folder}/{author_sort}/{title}/{title} - {authors} |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,198
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The template language includes a function current_library_name()
http://manual.calibre-ebook.com/template_lang.html |
![]() |
![]() |
![]() |
#4 |
Librocubicularist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 617
Karma: 11908623
Join Date: Dec 2013
Location: Germany
Device: PocketBook InkPad 3 & Touch HD 3, Kobo Clara HD, Kindle Paperwhite 5
|
Thanks for the answers, but they both sound a bit complicated for me. For now I use a manual workaround by saving the books from the second library to disk and then transferring them onto my device via Windows Explorer.
|
![]() |
![]() |
![]() |
#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)
|
What is complicated about it? Just copy and paste the supplied templates into the correct box in the Preferences dialogue.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
If you are new to calibre you know the step by step is much more complicated then you just insinuated. What features to use to accomplish task, How to create the columns, how to populate the columns, which Save template in calibre to use etc... I'm at work and can't go into the details, but your post was condescending and not well thought out.
|
![]() |
![]() |
![]() |
#7 |
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)
|
Click on
Code:
{:'current_library_name()'}/{author_sort}/{title} - {authors} If necessary, I can change the template to use arbitrary names depending on the folder. Last edited by eschwartz; 01-26-2014 at 12:30 AM. |
![]() |
![]() |
![]() |
#8 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
@eschwartz A much more graceful way of doing it than I would have provided.
![]() |
![]() |
![]() |
![]() |
#9 |
Librocubicularist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 617
Karma: 11908623
Join Date: Dec 2013
Location: Germany
Device: PocketBook InkPad 3 & Touch HD 3, Kobo Clara HD, Kindle Paperwhite 5
|
@eschwartz: Thank you so much for the explanation
![]() One of the folders is named "Books", the other "Teaching". How would that work with the template? |
![]() |
![]() |
![]() |
#10 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
I may be wrong, but it looks like all you have to do is follow his template (and instructions) without change and it will create the folders for you when you use the Send to Device feature.
|
![]() |
![]() |
![]() |
#11 |
Librocubicularist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 617
Karma: 11908623
Join Date: Dec 2013
Location: Germany
Device: PocketBook InkPad 3 & Touch HD 3, Kobo Clara HD, Kindle Paperwhite 5
|
Those are the names of the folders on my device. On my computer, the libraries are named differently. I'd rather not rename them if possible.
|
![]() |
![]() |
![]() |
#12 |
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)
|
What is the name of each library, and which folder should it be moved to? I will set up a rule to transform each. You will use something like this instead (click on the button "template Editor", next to the box in screenshot #2, above, and paste this whole code box in):
Code:
program: strcat( switch( current_library_name(), 'Library1', 'Teaching', 'Library2', 'Books', 'else' ), template("/{author_sort}/{title} - {authors}") ) Last edited by eschwartz; 01-26-2014 at 11:29 AM. |
![]() |
![]() |
![]() |
#13 |
Librocubicularist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 617
Karma: 11908623
Join Date: Dec 2013
Location: Germany
Device: PocketBook InkPad 3 & Touch HD 3, Kobo Clara HD, Kindle Paperwhite 5
|
The first library is called "Calibre Bibliothek" and should be copied to "Books" on my device.
The second library is called "Calibre Teaching Bibliothek" and should be copied to "Teaching" on my device. I think I also have to change the field "save template" in the configuration for my device. Edit: Ok, I changed the code, did some experimenting and figured out what I have to paste where. It works now just how I want it. Thanks a lot for the code!!! Last edited by LucyOne; 01-27-2014 at 04:25 AM. |
![]() |
![]() |
![]() |
#14 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,912
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#15 |
Librocubicularist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 617
Karma: 11908623
Join Date: Dec 2013
Location: Germany
Device: PocketBook InkPad 3 & Touch HD 3, Kobo Clara HD, Kindle Paperwhite 5
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
sending books to multiple folders on the device | pimpoum | Calibre | 2 | 06-02-2013 06:33 AM |
Different Libraries, Custom Columns and send to device | Soxendom | Calibre | 1 | 07-30-2011 07:43 PM |
Default Action to Send Books to Device | grueno_books | Library Management | 5 | 04-12-2011 11:00 AM |
Send New Books To Device | StuBFrost | Calibre | 11 | 06-04-2010 04:45 PM |
How to change "Send to device" without folders? | Skydog | Calibre | 12 | 05-23-2010 12:13 PM |