Revision: 70982
Updated Code
at November 1, 2016 11:19 by evito
Updated Code
Get-ChildItem ./ | Rename-Item -NewName {$_.Name -replace '^(_\d+_)',''}
Revision: 70981
Updated Code
at November 1, 2016 11:18 by evito
Updated Code
Get-ChildItem ./ | Rename-Item -NewName {$_.Name -replace '^(\_\d+\_)',''}
Revision: 70980
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 1, 2016 11:15 by evito
Initial Code
Get-ChildItem ./ | Rename-Item -NewName {$_.Name -replace '^(_\d+_)',''}
Initial URL
Initial Description
Renames all the files in the working directory from given regex pattern, in this case removes a series of digits (e.g. \_0004\_) that Photoshop appends when exporting layers.
Initial Title
PowerShell: Rename directory items by regex
Initial Tags
regex
Initial Language
Windows PowerShell