

Just shut ffmpeg up with the -v quite option (you don’t want so much information when you’re doing a batch job, do you?). Xcopy /T source-dir-hierarchy target-dir-hierarchy There’s a little-known parameter to the ubiquitous xcopy command that copies only the directory hierarchy (you can optionally tell whether you want empty directories to be copied or not!) - whoohoohoo! That there is a piece of cake. And I knew with a bit more searching I’d be there 😉

There were two things that needed to be done: 1) recreate the directory structure and 2) convert each file within the directories and sub-directories. It is almost always such things as bad-luck that probably ever forces a programmer to write code at home. So, no joy whatsoever with just laziness. I could recurse over the folders on my disk and dump them all in one folder on the pen-drive but then I am a stickler for keeping my files in folders. But I was on Windows and I didn’t have but DOS. Search reveals quite a few scripts - bash, perl, etc. Only, I realized later that ffmpeg will not convert folders recursively.

Things went smoothly and I was really happy. Now, being the sort of car that doesn’t play but mp3 I was in for a world of pain. I needed to copy out my entire collection of music to a pen-drive to plug-in while driving.
