Skip to content

Instantly share code, notes, and snippets.

@posaunehm
Created September 20, 2012 04:12
Show Gist options
  • Save posaunehm/3753947 to your computer and use it in GitHub Desktop.
Save posaunehm/3753947 to your computer and use it in GitHub Desktop.
Rename sequentially (example)
ls *.bmp | sort -Property Length -Unique | % -begin{$i = 0} -process{ren $_ ("Image" + $i.ToString() + ".bmp");$i += 1 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment