Almost there - Lil Help Pretty please? :-)
Posted: 05 Sep 2011 09:15
Hi Folks,
I need to move the contents of subfolders to the top level folder. I found this script which works on my Win7 PC:
FOR /f "delims=" %a IN ('DIR *.* /s /b') DO MOVE "%a"
I need to answer "a" for All when overwriting, would like to just do it automatically if possible (minor issue).
Here is the main question:
I have 740 top level folders this needs to be done in. (Itunes, each top folder is a musician, and each musician has many album/folders).
I Really, Really don't want to have to run this 740 times manually.
My folders are set up like this:
J:\Musicfiles\<Artist Name>\<Album Names>\files
Is there a way to loop through each Artist Name top level folder in Musicfiles and run this script against each artist? The result would be that each artist "top level" folder would have all the files for that artist in it. (To be clear, I don't want all files for ALL artists in one folder).
By having the script automatically overwrite duplicates, I would get rid of the many duplicate files I have. It would also make manually editing the file names etc for each artist easier, since they would all be visible at once, rather than buried in separate sub folders.
Last question. After this is done, could I then get a 2nd script to delete all sublevel folders (which would now be empty) for each artist?
Many thanks!
I need to move the contents of subfolders to the top level folder. I found this script which works on my Win7 PC:
FOR /f "delims=" %a IN ('DIR *.* /s /b') DO MOVE "%a"
I need to answer "a" for All when overwriting, would like to just do it automatically if possible (minor issue).
Here is the main question:
I have 740 top level folders this needs to be done in. (Itunes, each top folder is a musician, and each musician has many album/folders).
I Really, Really don't want to have to run this 740 times manually.
My folders are set up like this:
J:\Musicfiles\<Artist Name>\<Album Names>\files
Is there a way to loop through each Artist Name top level folder in Musicfiles and run this script against each artist? The result would be that each artist "top level" folder would have all the files for that artist in it. (To be clear, I don't want all files for ALL artists in one folder).
By having the script automatically overwrite duplicates, I would get rid of the many duplicate files I have. It would also make manually editing the file names etc for each artist easier, since they would all be visible at once, rather than buried in separate sub folders.
Last question. After this is done, could I then get a 2nd script to delete all sublevel folders (which would now be empty) for each artist?
Many thanks!