Page 1 of 1

Basic Comic Sorting Help

Posted: August 10th, 2010, 12:11 pm
by Wasgo
I'm looking for some help on sorting comics that I download. Currently, I have it set through categories to download to ~/Comics and each download creates a subfolder. The comics themselves are named "Title No. [of No.] (DATE) ~EXTRAS~.ext" where [of No.] is only included for miniseries and ~EXTRAS~ varies depending on the release. Both No. are typically 2 or 3 digits, though occasionally 4.

What I what to do is strip out all the ~EXTRAS~ so that the file becomes "Title No. [of No.] (DATE).ext" and have it moved out of the subfolder, into the main folder, overwriting existing files if necessary.

How difficult would it be to write a script like that, and what would the best way for me to start be?

Thanks.