[Windows] Moving final directory to another folder

Come up with a useful post-processing script? Share it here!
Post Reply
SprkFade
Newbie
Newbie
Posts: 4
Joined: September 16th, 2009, 8:35 pm

[Windows] Moving final directory to another folder

Post 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!
Last edited by SprkFade on September 16th, 2009, 8:49 pm, edited 1 time in total.
doubledrat
Release Testers
Release Testers
Posts: 180
Joined: February 20th, 2008, 3:16 pm

Re: [Windows] Moving final directory to another folder

Post by doubledrat »

??? why not tell SAB to put it in the final destination in the first place?
SprkFade
Newbie
Newbie
Posts: 4
Joined: September 16th, 2009, 8:35 pm

Re: [Windows] Moving final directory to another folder

Post 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.
SprkFade
Newbie
Newbie
Posts: 4
Joined: September 16th, 2009, 8:35 pm

Re: [Windows] Moving final directory to another folder

Post 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. ;(
doubledrat
Release Testers
Release Testers
Posts: 180
Joined: February 20th, 2008, 3:16 pm

Re: [Windows] Moving final directory to another folder

Post 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 :)
Post Reply