32
34

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.

LinuxおよびMacOSXで複数のファイルの拡張子を一括変更するには?

32
Last updated at Posted at 2014-08-28

コマンドラインでの操作です。
ターミナルでシェルを利用して実現します。

ワンライナー

for filename in *.dmp; do mv $filename ${filename%.dmp}.sql; done

メモ

  • 拡張子を .dmp から.sqlに変更
32
34
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
32
34

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?