0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

macでheicを一括でjpgに変換するスクリプト

Posted at

はじめに

完全に個人的なメモ

こちらの記事を参考に、ループ化しただけ、忘れそうなのでここに記す。

HEICファイルをJPGファイルに変換する
https://qiita.com/1coin178/items/83098b1be474db3e8bda

source

heic2jpeg.sh

echo $1
for f in `\find $1 -type f -name '*.heic'|sort`; do
    echo $f
    sips --setProperty format jpeg $f --out $f.jpg
done

こんな感じで呼び出す

./heic2jpeg.sh  {target folder}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?