View Single Post
Old 05-19-2015, 08:44 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,778
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Wimi_Bussard View Post
Hi,
I have got a little problem and I hope you guys can help me out.

There is a huge collection of cbz-files which I want to catalogue in calibre. Unfortunately, the files themselves do not contain any metadata such as "author". Instead you can find the files in the their author's folder.

Example: Author A has written three books B1, B2 and B3. There is one folder called "Author A" which contains all three books.

There are a hella lot of them, so importing them as usual would result in countless hours of re-tagging the files with "author" which I want to avoid. So, here is my question: Is there any way to use the folders' names with the information of the author?
(or in other words: Can Calibre automatically tag the files with the author-data from their folders?)
@Wimi_Bussard - one way would be to use an OS level renamer that has the ability to include parent folder name in the rename, so that you end up with file names like "Author A - B1".

Then you could use a template in Add Books such as (?P<author>[^_]+) - (?P<title>.+) and use this add option

Click image for larger version

Name:	Screenshot - 2015-05-20 , 10_38_53.jpg
Views:	354
Size:	40.5 KB
ID:	138485

BR
BetterRed is offline   Reply With Quote