You are not logged in.
Pages: 1
I used to rename photo files to date followed by the foto index number. So IMG_7356.jpg would become 2010-08-03_7356.jpg. How do I do that with ReNamer?
Getting the date from the EXIF-info is straightforward. But how do I retrieve the last 4 digits from a filename with Renamer? I have files like:
IMG_7356.jpg
BILD1473.JPG
310720100214.jpg
MVI_7357.avi
Any suggestions? I couldn't find it in the manual and may need some guidance on regular expressions??
Regards, Jeroen
Offline
Try with this before adding the date.
Delete:
From Position 5
Till de end
[x] Skip Extension
[x] Right-to-left
If this software has helped you, consider getting your pro version. :)
Offline
Hi Jeroen, welcome.
I used to rename photo files to date followed by the foto index number.
So IMG_7356.jpg would become 2010-08-03_7356.jpg. How do I do that with ReNamer?
Getting the date from the EXIF-info is straightforward.
But how do I retrieve the last 4 digits from a filename with Renamer?
I have files like:
IMG_7356.jpg
BILD1473.JPG
310720100214.jpg
MVI_7357.aviAny suggestions? I couldn't find it in the manual and may need some guidance on regular expressions??
Regards, Jeroen
Yes, RegEx would be easy.
1) RegEx: Replace expression ".+(....)" with "$1" (skip extension)
PascalScript too.
FileName := copy(string, Length(string)-5, 999);
But i can't find an user friendly doing for this standard issue.
The best way is maybe this:
FROM:
IMG_7356.jpg
BILD1473.JPG
310720100214.jpg
MVI_7357.avi
TO:
7356.jpg
1473.JPG
0214.jpg
7357.avi
DO this two steps:
IMG_7356.jpg
1) Insert: Insert "#" at Position 5 (right-to-left) (skip extension)
IMG_#7356.jpg
2) Delete: Delete from Position 1 until Delimiter "#" (skip extension)
7356.jpg
HTH?
Happy ReNaming!
EDIT:
Try with this before adding the date.
Delete:
From Position 5
Till de end
[x] Skip Extension
[x] Right-to-left
Bravo SafetyCar
One have to think about this possibility at first place
I have tried 'Right-to-left' with 'Count' only.
Anyway, no Jeroen has several possibilities to choose from
Last edited by Stefan (2010-08-07 22:52)
Read the *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)
Offline
Pages: 1