您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

convertvideosavitomp4 242B

123456789101112
  1. #!/bin/sh
  2. #mkdir convert
  3. for f in *.avi; do ffmpeg -i "$f" "${f%.avi}.mp4"; done
  4. #find -name '*.avi' -exec ffmpeg -i {} {}.mp4 \;
  5. #find a safe way to delete old files?
  6. #find . -name "*.avi.mp4" -exec rename 's/\.avi.mp4$/\.mp4/i' {} \;