No solutions to post today , so time for a small Hey scripting guy ! translation : How Can I Replace Incorrect Dates in My File Names? dir *.jpg | ren -new {$_.name -replace "(\d{1,2})-(\d{1,2})-07",'$1-$2-08' } To keep the example clear I used exactly