Trying to do a mass convert from M4A to OGG in a large music collection, I have:
#!/bin/sh for i in `find /home/family/Music -name *.m4a -print0` #do ffmpeg -i "$i" -acodec libvorbis -aq 6 -vn -ac 2 "$i.ogg"; do echo $i done
All of the files will have spaces in their names, the output for the above shows a single file like this:
/home/family/Music/The Kooks/Inside In _ Inside Out/06 You Don't Love Me.m4a
Every space marks a new line, I thought
-print0 would fix this?