Skip to content

Instantly share code, notes, and snippets.

@hammerill
Created April 16, 2025 12:50
Show Gist options
  • Save hammerill/b71aeef40bf5a83fd7ab352d5ba829fa to your computer and use it in GitHub Desktop.
Save hammerill/b71aeef40bf5a83fd7ab352d5ba829fa to your computer and use it in GitHub Desktop.

FFmpeg Convert 1.jpg to .jpg

for file in *1.jpg; do ffmpeg -i "$file" "${file%1.jpg}".jpg && rm "$file"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment