Skip to content

Instantly share code, notes, and snippets.

@ozuma
Created May 23, 2022 05:55
Show Gist options
  • Save ozuma/b75b0399deb93bb828239d7318e11275 to your computer and use it in GitHub Desktop.
Save ozuma/b75b0399deb93bb828239d7318e11275 to your computer and use it in GitHub Desktop.
拡張子を取り除く、拡張子の変換
#!/bin/bash
for filename in *.webp
do
convert $filename ${filename%.*}.png
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment