Skip to content

Instantly share code, notes, and snippets.

@kaisugi
Created March 28, 2019 03:39
Show Gist options
  • Save kaisugi/8f21702fe4ccc3e358dc5b8a2b83f90b to your computer and use it in GitHub Desktop.
Save kaisugi/8f21702fe4ccc3e358dc5b8a2b83f90b to your computer and use it in GitHub Desktop.
PowerShell でディレクトリ内のファイル名の一括置換
dir | rename-item -newname { $_.name -replace 'hoge', 'fuga' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment