Page 1 of 1
[Windows] Moving final directory to another folder
Posted: September 16th, 2009, 8:45 pm
by SprkFade
Basically what I'm trying to do is make a script that will move one folder to another with the same name but a different path after the download finishes. For example:
C:\completed\%nameofshow%\ to N:\TV Shows\%nameofshow%\
or even:
C:\completed\%nameofshow%\*.* to N:\TV Shows\%nameofshow%\
%nameofshow% obviously varies depending on the name of the show. I'm also using %sn in parsing options so the folder automatically has the correct name when the download finishes, if that helps at all.
Any help with this would be greatly appreciated. Thanks!
Re: [Windows] Moving final directory to another folder
Posted: September 17th, 2009, 6:05 am
by doubledrat
why not tell SAB to put it in the final destination in the first place?
Re: [Windows] Moving final directory to another folder
Posted: September 17th, 2009, 9:10 am
by SprkFade
doubledrat wrote:
why not tell SAB to put it in the final destination in the first place?
The problem is, when I get files through the bookmarking feature of Newzbin, it adds another folder called TV before the %nameofshow% folder. It works fine when I manually add them, but a lot of the time I just add the bookmark and let it auto-download them. That, and if I download something other than a TV show, I'd like to be able to put those in a folder different than the TV one.
Re: [Windows] Moving final directory to another folder
Posted: September 17th, 2009, 9:34 am
by SprkFade
Man, I feel kinda stupid. I think I found a reasonable way to do this without a script.
Basically, you can configure the categories to a direct path, say C:\TV Shows. Then, if you setup the TV sorter to have sn%/ that will create a folder called %show name%, which already exists at C:\TV Shows anyways. So basically, it just moves the file to the correct folder, since the folders are already there, and if it's a new show, it'll create the folder there and place the files in it.
Apparently I was looking for a complex solution to an easy problem. ;(
Re: [Windows] Moving final directory to another folder
Posted: September 17th, 2009, 11:21 am
by doubledrat
SprkFade wrote:
Apparently I was looking for a complex solution to an easy problem. ;(
thought so. at least you have a solution now