Copy folder and files with folder structure IF filetype is present
Posted on 2011-09-29
I need to copy all folders that contain *.flac with their current folder structure, and I also need to be able to either copy all files & folders in that folder with exceptions or just chose what file type & folder to copy if *.flac is present in that folder.
Search my music folder
copy ALL folders that contain *.flac wtih their current folder structure.
I must be able to include and or exclude file types and folders during this copy procedure from those folders that contain *.flac.
Ex: If *.flac is present ie D:/Music/Rippet/Some Artist/Some Album/Coolsong.flac, then I want
D:/Music/Rippet/Some Artist/Some Album/text.txt
D:/Music/Rippet/Some Artist/Some Album/album.jpg
D:/Music/Rippet/Some Artist/Some Album/cuesheet.cue
and all sub folders to be copied along during this copy to f.ex
E:/New Folder/Rippet/Some Artist/Some Album/Coolsong.flac
E:/New Folder/Rippet/Some Artist/Some Album/text.txt
!!!But, I don't want f.ex
D:/Music/Rippet/Some Artist/Some Album/coolsong.mp3
D:/Music/Rippet/Some Artist/Some Album/coolsong.aac
D:/Music/Rippet/Some Artist/Some Album/coolsong.wav
I need these and other spesific file types to be excluded during the copy!!!
What I DON'T want to do under any circumstances to name files or folders with their names during this procedure, as this would take way to long time.
Atm their about 46000 files and folders to search through, but shortly this will increase 3-4 times.
Current OS is Win 7.
Sry about my english, it's a little rusty.
I dont mind using commands IF their isn't a program that can make this happen. Free or not doesnt matter to me.