![]() |
#1 |
Groupie
![]() Posts: 171
Karma: 10
Join Date: Dec 2008
Device: Likebook Mars
|
Software to auto sort Ebooks into folders?
My ebook collection is organized in the format: C:\Ebooks\Genre\AuthorFirstname Lastname\
also in each Genre folder are many thousands of unsorted ebooks with the naming format: Authorsfirstname Lastname-booktitle.ext Is there any software that I could use to automatically sort these ebooks into the Author folders? I've tried doing it manually and after several hours I hadn't made much progress, Thanks. |
![]() |
![]() |
![]() |
#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)
|
calibre can catalog all your books, import them with the metadata and export however you like. It is also very good at handling your whole interaction with your ebooks... just search for the genre tags from within calibre...
It can be set to read metadata from the filename rather than from the metadata fields within the book. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
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)
|
Also, there is this:
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Groupie
![]() Posts: 171
Karma: 10
Join Date: Dec 2008
Device: Likebook Mars
|
Thanks, I've tried Calibre many times over the years and I love it's ability to convert all formats but I dont like the rest. The majority of my books are old and not in modern ebook formats and dont have complete meta data so Calibre just makes a mess of it. I have found the folder system works best for me and I use the 'Everything' search software to find whatever books I want from within it.
|
![]() |
![]() |
![]() |
#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)
|
Quote:
Quote:
|
||
![]() |
![]() |
Advert | |
|
![]() |
#6 |
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
|
Also, with some scripting it is possible to rename the ebooks/texts so that information that was stored in the path is moved to the filenam, with suitable delimiters. That way it is possible to import files into calibre with metadata from the path.
I usually just do a recursive file listing and redirect the output to a file. This file I edit in a spreadsheat program to create a series of mv (rename) commands. Finally I save the spreadsheat to a text file, and run it as a script. You can use the same method to quickly create a script to move the files in the genre folders into the correct folder. |
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,627
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
You can make a bat file (or shell script if you've installed some Unix-like environment) to rename them, but I'm afraid it should be your own creation.
|
![]() |
![]() |
![]() |
#8 |
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)
|
Or manually set certain tags to be added in each import batch separately, if scripting is too much.
Preferences ==> Import/export ==> Adding books. In the "The Add Process" tab, "Tags to apply when adding a book" |
![]() |
![]() |
![]() |
#9 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 23
Karma: 23332
Join Date: Jan 2013
Device: none
|
Theres a handy little program called "Booksorter.rar" that scans books, normalizes names, and sorts (and then copies them into) output "buckets" file (primary output is by author, secondary is you can set the genre by author name to slip it into the correct Genre basket)
ps, if you can't find it online, i have it in my library, but don't know how to attach it to the messaging thing here, feel free to send me email Marc@marcalan.info and i can reply with an attachment |
![]() |
![]() |
![]() |
#10 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 23
Karma: 23332
Join Date: Jan 2013
Device: none
|
for several of the q's earlier about "parsing" existing file names, theres another really cool (free) utility called Regexrenamer.... rename the files with regexrenamer, import (uncheck the box in adding books preferences about "read metadata from file contents rather than file name" (don't forget to change it back when done)
ps i have a library named "New adds" for experimenting/adding stuff to) |
![]() |
![]() |
![]() |
#11 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 23
Karma: 23332
Join Date: Jan 2013
Device: none
|
ps regexrenamer download at http://regexrenamer.sourceforge.net/
RegexRenamer is a powerful but simple user-friendly graphical tool used to batch rename files using regular expressions. A regular expression (or regex) is simply text that contains special characters that together defines a pattern that can be used to match text, in this case filenames. Using the power of regexes it becomes easy to apply complex transformations to large groups of files that otherwise would not be possible with plain match & replace. |
![]() |
![]() |
![]() |
#12 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 23
Karma: 23332
Join Date: Jan 2013
Device: none
|
ps, more on Booksorter (old mobilereds thread from 2007
https://www.mobileread.com/forums/showthread.php?t=11044 May 23, 2007 - 2 posts - 2 authors BookSorter v4.0 sort ebooks by folders/Authors/genre etc Reading and ... Search inside rar/zip archives in order to determine the book type(s). |
![]() |
![]() |
![]() |
#13 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2013
Device: Kindle
|
The problem is, when we have a lot of ebooks files from many others sources.
In Downdload folder there are many files with the names: Author - Title - Something.ext Title - Author - Something.ext Something - Title - Author.ext etc... without tags, metatags etc... in many times. Why nobody wants a simple program to book sorting, before import them into Calibre? This program should import full folder with downloaded files, and ask us - one by one file - to sort the file name as we want - and save it. In PHP I saw jquery module, that the filename can be truncated by selected separators: space, -, _, dot, etc... Every part of the filename I can drag and drop into my "virtual place for a new name", so I can drag and drop Author into the author field, Title into the title field, etc... Another blade of this software should be connecting to the google images f.e., and should give us a proposition of the cover, simillar to the title of our ebook. Click - and we have it. The program may ask us, to save this new ebook file with a new string for a new created filename, into A.B.C... folders, or convert into zip file with the cover - one by one. I think - it's a good idea to book sorting before import them into Calibre or any ebook readers. If you are programmer and reader - think about it - for us ;-) Regards |
![]() |
![]() |
![]() |
#14 |
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
|
As long as the files are ebooks that has a ISBN-number, it is easier to ignore all metadata already present. Just add the book(s), scan for the ISBN using the ISBN-plugin and download metadata and cover.
If ISBN is missing, then do it manually. If it is other publications, then it is hard to write a general program. Easier to write an ad-hoc script to make the metadata accessible to calibre. |
![]() |
![]() |
![]() |
#15 |
Groupie
![]() Posts: 171
Karma: 10
Join Date: Dec 2008
Device: Likebook Mars
|
Thanks for all the suggestions. I found a great site where people write batch code for the asking, took a few goes to get it right but was great to watch thousands of files sort themselves all into folders.
Now I'm looking for some way to automatically remove the many duplicates, ISBN plugin sounds like it might be a good way to identify them, I'll give it a try. Also is there a way to auto sort and remove other formats in a set order. For instance if you have an epub version remove all others, if no epub exists and there is a mobi remove all others, etc, etc? Last edited by Vortex; 02-22-2014 at 02:19 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
BookSorter v4.0 sort ebooks by folders/Authors/genre etc | Dopedangel | Reading and Management | 5 | 06-25-2017 07:40 PM |
Auto adding books from sub folders | tonyhehir | Library Management | 4 | 12-27-2013 04:47 PM |
Auto Centring after title sort | transmitthis | Calibre | 4 | 02-17-2012 11:40 AM |
Auto sort tags? | scottjl | Calibre | 2 | 12-19-2009 11:56 AM |
505: Is is possible to sort the book by FILENAME? Or to use FOLDERS? I get crazy | drmaniac | Sony Reader | 6 | 10-18-2008 01:07 PM |