I have a bunch of files which need to be converted from .mp4
to .mpeg.one
. A friend of mine had suggested me this simple script. However it doesn't work because filenames contain blank spaces.
Here is the script:
for f in $(ls *.mp4); do ffmpeg -i "$f".mp4 "$f".mprg; done