Skip to content

Instantly share code, notes, and snippets.

@hperantunes
Created January 17, 2025 00:23
Show Gist options
  • Save hperantunes/086d583958b1b24473a644053dba9378 to your computer and use it in GitHub Desktop.
Save hperantunes/086d583958b1b24473a644053dba9378 to your computer and use it in GitHub Desktop.
Get-ChildItem "C:\Path\To\Your\Folder" -Filter "Slice *.png" | Rename-Item -NewName { $_.Name -replace "^Slice\s", "" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment