Advertisement
hypnojerk

Batch rename Photos example

May 26th, 2021
1,492
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ls | %{Rename-Item $_ -NewName ("DJI-MINI-2-2021-May-23-{0}.DNG" -f $nr++)}
  2.  
  3. OR
  4.  
  5. ls | %{Rename-Item $_ -NewName ("GOPRO-HERO-9-2021-May-26-{0}.GPR" -f $nr++)}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement