move files to folder linux code example
Example 1: linux convert files in folder
for i in *.avi; do ffmpeg -i "$i" "${i%.*}.mp4"; done
Example 2: linux move everything in a directory to another directory
mv -v ~/Downloads/* ~/Videos/
for i in *.avi; do ffmpeg -i "$i" "${i%.*}.mp4"; done
mv -v ~/Downloads/* ~/Videos/