Skip to content

Instantly share code, notes, and snippets.

@najathi
Created February 27, 2022 04:58
Show Gist options
  • Save najathi/bd6d505f381ad588ff65616ed053421c to your computer and use it in GitHub Desktop.
Save najathi/bd6d505f381ad588ff65616ed053421c to your computer and use it in GitHub Desktop.
Bulk rename
Bulk rename the files
$i=1
Get-ChildItem *.webp | %{Rename-Item $_ -NewName ('{0}.webp' -f $i++)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment