I've a bunch of photo's that I require renaming, I've had a look through the reg ex documents and my head starts to hurt everytime I try to figure it out!
So I'm wondering if you clever people can help out!
1:
- Code: Select all
photo_1000@25-01-2016_20-35-35.jpg
to
25-01-2016_20-35-35.jpg
and
photo_101@05-07-2015_20-03-47.jpg
to
05-07-2015_20-03-47.jpg
So basically, remove everything prior to and including the @ sign.
2:
Change the date of the file from the filename (is this possible?)
All the files will be saved in this format, although there exists the possibility of multiple files that would have been renamed in the above step with the same filename for which BRU
- Code: Select all
05-07-2015_20-03-47.jpg
or
05-07-2015_20-03-47_1.jpg
05-07-2015_20-03-47_2.jpg