Skip to content

Instantly share code, notes, and snippets.

@ozuma
Created May 23, 2022 05:55
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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