View Single Post
Old 12-31-2017, 05:19 PM   #129
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,450
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by barryem View Post
Another way to do this, if you prefer to have a listing of your books, is to click on Cortana, type CMD and in the window that pops up, type CD \. That'll take you to the top level of your hard drive. Then type dir /s /b *.epub > epublist.txt. And wait. That'll create a text file on your hard drive that lists every epub book in your computer with it's full path name and file name. If you aren't familiar with the command prompt this will seem strange to you but it's really very simple to do.
And rather useless since the discussion was about locating duplicate files. Sorting is rather useless when two copies of the same (or same name) file will have a different path. Not to mention the links I used to use for secondary authors would not show in the list but would break horribly if the file linked to was removed.

You could try forfiles /m *.epub /s >>epub.txt to save a listing of all epub filenames from the starting directory down to the text file epub.txt in the current directory -- the double quotes around each filename are easy enough to remove. Running in the root of a drive will give some access denied errors unless run as administrator.
DNSB is offline   Reply With Quote