Tuesday, January 13
Collections
I collect things. I pick everything up out of the alt.binaries.*fonts, unduplicate them, and hopefully soon, start burning them to CDs (or a DVD). Believe me, I've got enough to fill a DVD just about (3.8 gigs, last time I checked).
I also collect the e-books posted in alt.binaries.e-book*. I was running out of disk space rapidly, as there is a whole bunch of duplicate junk that gets posted, as well as a bunch of german crap as well. I've got a filter on my newsreader to help out with the german stuff, and I'm now trying to get my stuff organized by genre and author. I've got one author in horror, one author in fantasy, and about 8 in scifi. Today, I came up with a way to at least keep up with the authors I have already gone through. I present the bactch file, moveemout.cmd
@echo off
setlocal
call :processscifi "c:\binaries\alt.binaries.e-book.palm\"
call :processscifi "c:\binaries\alt.binaries.e-book.flood\"
call :processscifi "c:\binaries\alt.binaries.e-books\"
call :processfantasy "c:\binaries\alt.binaries.e-book.palm\"
call :processfantasy "c:\binaries\alt.binaries.e-book.flood\"
call :processfantasy "c:\binaries\alt.binaries.e-books\"
call :processhorror "c:\binaries\alt.binaries.e-book.palm\"
call :processhorror "c:\binaries\alt.binaries.e-book.flood\"
call :processhorror "c:\binaries\alt.binaries.e-books\"
endlocal
goto :eof
:processscifi
for /f "delims=" %%I in ("*adams*douglas*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*douglas*adams*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*anthony*piers*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*piers*anthony*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*asimov*isaac*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*isaac*asimov*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*clarke*arthur*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*arthur*clarke*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*heinlein*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*larry*niven*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*niven*larry*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*zelazny*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*phil*dick*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*dick*phil*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*jerry*pournelle*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*pournelle*jerry*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*brian*aldiss*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*aldiss*brian*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*orson*card*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*card*orson*") do call :moveit "%~1%%I"
goto :eof
:processfantasy
for /f "delims=" %%I in ("*mccaffrey*") do call :moveit "%~1%%I"
goto :eof
:processhorror
for /f "delims=" %%I in ("*anne*rice*") do call :moveit "%~1%%I"
for /f "delims=" %%I in ("*rice*anne*") do call :moveit "%~1%%I"
goto :eof
:moveit
if not exist %1 goto :eof
echo move %1 "C:\binaries\e-books - by Genre"
move %1 "C:\binaries\e-books - by Genre"
goto :eof
I hope that comes out looking good. I really do. I'm not going to color code it for you like my editor though. :-P What authors I'm doing should be obvious. And I just found a mistake that I just now corrected. I have the different genre's under the e-books - by Genre, and I should probably split them out that way. I will put that in later (trivial code to do it), especially if it gets too hairy.
I'm only keeping one copy of anything, and my preferences are for .pdb first, then .prc, then .txt, then whatever I get it in.
I've currently recovered ½ of a gig so far today. Not bad. Some of it, I just need to throw away... :/ The pack-rat in me.
Permanent link posted by bytehead @ 1/13/2004 12:06:00 AM
0 comments
0 Comments:
Post a Comment
Links to this post: