9
9

More than 5 years have passed since last update.

zshでファイル名を一括置換する方法

Posted at

bash を使っている場合などは、zsh を叩いて zsh にログインする。

zmvコマンドをロード?する:

% autoload zmv

どのファイルが置換されるかを確認する:

% noglob zmv -n -W **/*foo* **/*bar*

ファイル名置換処理を実行する:

% noglob zmv -W **/*foo* **/*bar*
9
9
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
9
9