Given a folder, XYZ. Look in sub-folders. If more than one file exists within any one sub-folder, delete all except the largest file present.
Issue has arisen from capturing streaming audio 'radio stations' around the Internet.
One folder has 22 different copies of Queen's Radio Ga Ga. Another, 20 copies of Madona's Like A Prayer. 18 MJ's Billie Jean. And on and on.
Need a way to pare out the littler ones, I suppose. Not the very best solution, because there is often announcer voice at the beginning of the longer items -- that's actually why they are longer. But, keeping the longest/biggest seems the best bet I can think of.
Question is, how does one do this?
Hundreds of sub-folders, by the way. So need an auto way.
Thanks!
Nicholas Kormanik
Issue has arisen from capturing streaming audio 'radio stations' around the Internet.
One folder has 22 different copies of Queen's Radio Ga Ga. Another, 20 copies of Madona's Like A Prayer. 18 MJ's Billie Jean. And on and on.
Need a way to pare out the littler ones, I suppose. Not the very best solution, because there is often announcer voice at the beginning of the longer items -- that's actually why they are longer. But, keeping the longest/biggest seems the best bet I can think of.
Question is, how does one do this?
Hundreds of sub-folders, by the way. So need an auto way.
Thanks!
Nicholas Kormanik











I'll move it.