![]() |
#76 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#77 |
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
|
I do my imports in small batches still. And do a bulk search and replace to update metadata from the filename that was updated from the script. And add genre and possibly cover. But it seems I don't have to find ISBN manually in PDF:s any more, the OCR from the scripts seems to handle that fine.
As far as I have seen all the uncertain mobi books are correctly renamed... I might attempt to change the script so that SKIPPED books (typically magazines/periodicals) are moved to a special SKIPPED-folder. As it is they are left in situ, possibly in sub-sub-folders... Also add some code to delete empty folders. Last edited by Adoby; 08-10-2018 at 04:11 AM. |
![]() |
![]() |
![]() |
#78 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
Last edited by Terisa de morgan; 08-10-2018 at 04:09 AM. |
|
![]() |
![]() |
![]() |
#79 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
This kind of thinking is why isbndb stop the free of charge usage of their api for non commercial users end of last year.
|
![]() |
![]() |
![]() |
#80 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Scripting is always useful if you know what you are doing. I use them since years very heavily for some of my libraries, especially where I need to process huge amount of record batches fast and automatically.
The point is, as you mentioned too, that this will not improve availability and quality of metadata within calibre. This depends on the availability and quality from metadata providers. I recognize over the time that quality metadata sources massively restrict the availability for free of charge public api's and if available they restrict their usage in respect of record volume. Most of my sources for quality metadata need a account for closed circle of members. |
![]() |
![]() |
![]() |
#81 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 666
Karma: 1752814
Join Date: Jan 2008
Device: Sony Reader PRS-505 : Onyx Boox Max : Sony PRS-900 : Onyx Kepler Pro
|
|
![]() |
![]() |
![]() |
#82 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 666
Karma: 1752814
Join Date: Jan 2008
Device: Sony Reader PRS-505 : Onyx Boox Max : Sony PRS-900 : Onyx Kepler Pro
|
Quote:
"smashwords-epub-a030871b-dc97-493b-b4e8-7ebe19777523.epub" or a book called "John G. Voeller - Wiley Handbook of Science and Technology for Homeland Security, 4 Volume Set (2009) [9780471761303].pdf"? |
|
![]() |
![]() |
![]() |
#83 |
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
|
Changes to organize-ebooks.sh to throttle the script and delete empty folders, making it easier to find folders with skipped files...
Code:
ok_file() { echo -e "${GREEN}OK${NC}:\\t${1}\\nTO:\\t${2}\\n" echo Sleeping... sleep 60 echo Awake... rmdir -p --ignore-fail-on-non-empty "$(dirname "${1}")" } |
![]() |
![]() |
![]() |
#84 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 666
Karma: 1752814
Join Date: Jan 2008
Device: Sony Reader PRS-505 : Onyx Boox Max : Sony PRS-900 : Onyx Kepler Pro
|
21708 ebooks and calibre has literally been searching for metadata for days. Days.
|
![]() |
![]() |
![]() |
#85 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 666
Karma: 1752814
Join Date: Jan 2008
Device: Sony Reader PRS-505 : Onyx Boox Max : Sony PRS-900 : Onyx Kepler Pro
|
Quote:
#!/bin/sh dupseek -b kill . move.files.sh remove.dirs.sh sanity.pl -l . mkdir cache for I in {a..z}* ; do mv -v $I cache ; cd cache ; ebook-reader-prep.sh ; mv -v * /home/sealbeater/ebooks/need.more.sorting/ ; cd .. ; done Just to show a different way, you can achieve the same using OS tools. insert a "sleep 60m" after the "ebook-reader-prep.sh" which is just a wrapper that puts my books in a different place before being moved to my final library. Last edited by sealbeater; 08-11-2018 at 04:34 PM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
The pros and cons of Sigil | slowsmile | Sigil | 44 | 02-15-2017 10:30 AM |
What Are Your Pros And Cons? | MorganM | Which one should I buy? | 22 | 09-26-2011 10:38 AM |
So you have a Kindle. Pros/Cons | emclinux | Amazon Kindle | 12 | 09-28-2010 08:20 AM |
Accessories Pros and Cons between 2 covers | F1Wild | Amazon Kindle | 5 | 07-08-2009 06:59 PM |