Advertisement
hypnojerk

Batch rename Photos

May 26th, 2021
1,215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Replace filename with anything you want. I have been manually entering the
  2. # date, because sometimes the photos I am uploading are from a past date
  3. # the {0} is what changes and starts counting up.
  4.  
  5. ls | %{Rename-Item $_ -NewName ("Type-Your-filename-2-2021-May-23-{0}.DNG" -f $nr++)}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement