I am looking for a batch file that I can run that will move folders to specific directories based upon the type of files located within each folder.
For example:
My folder structure looks like this:
\Movies\
-----\Alien\
----------\Alien.avi
-----\Iron Man\
----------\Iron Man.mkv
So basically I have a whole folder that needs to be separated into 2 groups. 1 group for HD stuff (mkv's) and 1 group fro SD stuff (avi's).
What I was looking for is a batch file that can move the second level folder (\Alien\, \Iron Man\) based upon the extension of the file within the folder (avi or mkv)
So the Alien folder would be moved to G:/SD Movies, and the Iron Man folder would be moved to F:/HD Movies.
I have googled for a while, but haven't been able to come up with anything that has worked as of yet.
Thanks for any help, and apologies if this is really simple to do, but I have absolutely no scripting experience whatsoever.
Question
feerlessleadr430
Hi all
I am looking for a batch file that I can run that will move folders to specific directories based upon the type of files located within each folder.
For example:
My folder structure looks like this:
\Movies\
-----\Alien\
----------\Alien.avi
-----\Iron Man\
----------\Iron Man.mkv
So basically I have a whole folder that needs to be separated into 2 groups. 1 group for HD stuff (mkv's) and 1 group fro SD stuff (avi's).
What I was looking for is a batch file that can move the second level folder (\Alien\, \Iron Man\) based upon the extension of the file within the folder (avi or mkv)
So the Alien folder would be moved to G:/SD Movies, and the Iron Man folder would be moved to F:/HD Movies.
I have googled for a while, but haven't been able to come up with anything that has worked as of yet.
Thanks for any help, and apologies if this is really simple to do, but I have absolutely no scripting experience whatsoever.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts