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 1 year has passed since last update.

複数ファイル名を一部だけ一括置換する

Last updated at Posted at 2022-10-15

業務で複数ファイル名を大量に修正する必要がありましたので
自分用の備忘録として残しておきます。

1.powershellで「㏅」コマンドを使い置換したいフォルダーに移動する。

2.以下コマンドを実行。
#「週次報告書xxxx」ファイルを「週報xxxx」ファイルに置換する
ls | ren -NewName {$_.Name -replace "週次報告書","週報"}

3.以上。

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?