powershell replace and rename file name
Get-ChildItem -Path "C:\All" -Filter "*.pdf" | Rename-Item -NewName { $_.BaseName.Replace(".","_") + $_.Extension }
4
8
mv original_filename.whatever new_filename.whatever
Thank you!
8
0
Are there any code examples left?
New code examples in category Shell/Bash