Mobileread
Any Sophisticated Ways to Glean Whole HDD?
#1  abrogard 11-19-2019, 05:38 PM
What I mean is that if I set Calibre to find books on my E: drive it come up with some 60,000 books.

Which I don't have. Most of those 'books' are little txt files or even tiny pdf files produced by software.

Only thing I can think of to do is to search for a type, like pdf say, and then copy everything over to a temp dir. Then run my eye down the listing and delete everything that seems wrong.

Then tell calibre to take up the remains of the dir.

Then do the next type.

Is there any more sophisticated way of doing this?
Reply 

#2  theducks 11-19-2019, 08:35 PM
Code
Dir E:\*.pdf /S > booklog.txt
the /S is recursive sub directories
I started at the root, but you can adjust the base path to taste
Reply 

#3  abrogard 11-22-2019, 03:39 AM
Yep, that's a good idea if there's nothing better, thanks.

My powershell wouldn't accept /s though. I had to use -recurse

Reply 

Today's Posts | Search this Thread | Login | Register