📜  powershell rename replace - Shell-Bash 代码示例

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

代码示例2
Get-ChildItem -Path "C:\All" -Filter "*.pdf" | Rename-Item -NewName { $_.BaseName.Replace(".","_") + $_.Extension }