How would I do this?

Gooberlx2

Lifer
May 4, 2001
15,381
6
91
I have my music directories, which are filled with various albums some encoded in MP3 and some in WMAlossless, plus their respective albumart.jpgs. Basically the following:

x:\music\artist\album\ # name.WMA(s) + albumart.jpg

x:\music\artist\album\ # name.MP3(s) + albumart.jpg

Unfortunately the new Zune software doesn't on-the-fly transcode WMAlossless to lossy, so I have more music than the player can hold.

I'm transcoding all my WMAlossless to MP3s for my new Zune, in to another directory, following the same tree structure (using dbpoweramp).

Now I need to copy all the albumart.jpgs relevant to those files (only the WMAs), to the new directories.

I can use robocopy on the original music directory: robocopy source_dir dest_dir albumart*.jpg /s but that copies ALL album art files and creates the ENTIRE music directory structure, including from directories that only contain MP3s. So how would I filter for directories containing only WMA files?

In the end, I plan of having 3 directories. One with my old MP3s, for which I have no WMAs. One for my WMAlossless files and the last for my MP3s transcoded from my WMAs.....at least until they update the damn software to transcode on-the-fly.

If my explanation isn't too crappy.....any help?