3
3

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.

大量の画像ファイル (.gif) を (.png) に変換したコマンド

Posted at

1.この記事で学べること

  • 少なくともタイトル通りのことはできる
  • 単純に拡張子を変換するときにも応用できそう

2.コード例

$for file in *.gif; do
>  convert $file ${file%.gif}.png
>done

こんな感じ。

$for file in *.txt; do
>  mv $file ${file%.txt}.foo
>done

こんなこともできそう。

3
3
1

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
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?