📜  powershell 重命名通配符 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:08.946000             🧑  作者: Mango

代码示例1
get-childitem -Path "$dir" | where-object { $_.Name -like "$file" } | %{rename-item -path $dir$_ -newname $d"_"$_}