adding yyyy.mm.dd to beginning of various video and image files

Advanced Renamer forum
#1 : 03/10-13 11:29
JJ Emmanuel
JJ Emmanuel
Posts: 2
Hi,

Great software - thanks - Newbie query here - I am sure I am missing something, but have tried searching etc for a while and playing around, but no joy, so apologies if this is an obvious question:

I have JPG files mixed in with various video formats : MOV, AVI, MP4 etc and simply want to add yyyy.mm.dd infront of existing file name and extension. so to do this, I thought

1. use exif data if possible on images so I am using "New Name" then : <IMG Year>.<IMG Month>.<IMG Day>.<Name>.<Ext> to sort first - this works on most JPG

however it there are video files it adds just adds " ... " in front, same with some JPG (I suspect older ones I once edited )

I tried <Year Created>.<Month Created>.<Day Created> <Name>.<Ext> but this seems to pick a date they were last copied onto the current external drive I am using, and if also does not work for video formats - seems to pick todays date?

I hope this query makes sense? In summary, I need a 3 step routine:

1. run <IMG Year>.<IMG Month>.<IMG Day>.<Name>.<Ext> to sort most JPG
2. then another routine to catch the JPG by date created (original date, not copy date)
3. then another routine to rename video formats as in 2 above

and all with each next step, not undoing what has been done in the step preceding?

Many thanks for any help


03/10-13 11:29
#2 : 09/10-13 07:04
arwul
arwul
Posts: 89
Reply to #1:
About the non-EXIF files: it could be tricky to use the created-date fields.
For example: I just downloaded a mp4 file.
When checking the properties it lists: created date today, but modified / last access: sept. 28, which is correct, the filename itself indeed shows 28_09_2013, i.e. filename_bla_bla_28-09-2013.mp4

In this case <Year Modified><Month Modified><Day Modified><Name><Ext> would be more appropriate.

Maybe ..
- add columns Created Date-Accessed Date-Modified Date to the Advanced Renamer right panel [Rename Files]-tab
- sort files on oldest dates (either modified, accessed, or created)
- then use Add method, Timestamp->Apply to: Created / Accessed / Modified
- then select either Created or Accessed or Modified (item 4-6)

This way you may redate all files to have the *same* (oldest) Created / Accessed / Modified-dates
Then add date to the filename, as per above.

It would be nice if there was an easy script that would 'batch-update' all properties-dates based on the oldest (or, optionally, newest) dates in the fileproperties (be it either created or modified or accessed).

Is this what you meant?

Personally, I have made it a habit to always add date to a filename. Lateron, I can always redate the file using "Filename pattern".

=


09/10-13 07:04
#3 : 09/10-13 15:19
JJ Emmanuel
JJ Emmanuel
Posts: 2
Reply to #2:

Thanks -

your question:

" It would be nice if there was an easy script that would 'batch-update' all properties-dates based on the oldest (or,
optionally, newest) dates in the fileproperties (be it either created or modified or accessed).

Is this what you meant?"

YES - exactly what I meant!

your suggestion :

Maybe ..
- add columns Created Date-Accessed Date-Modified Date to the Advanced Renamer right panel [Rename Files]-tab
- sort files on oldest dates (either modified, accessed, or created)
- then use Add method, Timestamp->Apply to: Created / Accessed / Modified
- then select either Created or Accessed or Modified (item 4-6)

OK - thanks - will try that, at first glance not all that sure what you mean, but will try it out later when I have some free time

Appreciate the suggestion, Regards


09/10-13 15:19
#4 : 14/10-13 08:23
arwul
arwul
Posts: 89
Reply to #3:

Pls...

Make sure to make a copy of the entire folder, before proceeding... (so you have a backup)
Have a good look at the preview to check the results.

=



14/10-13 08:23