1
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のターミナルでファイル名内の空白をアンダーバーに置換する。

Posted at

Linux系はファイル名に空白があると厄介ですよね

拡張子が.emlで空白を含むファイル名の空白をアンダーバーに置換できます。

$ find . -name “*.eml” -print0 | xargs -0 rename --nows

macのターミナルでは、デフォではrenameが使えませんでしたので、
$ brew rename
でインストールする必要があります。

1
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
1
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?