
7 May
2017
7 May
'17
12:38 p.m.
On 1 May 2017, Mark Trickett via luv-main typed:
I have photos from my mobile phone, an old Nokia 6021, and readily get them onto the PC. I wish to reorder them to be year, month and then day.
An alternative to filename based shell scripts and the rename command is to use jhead to rename them based on the date and time embedded in the exif jpeg header. For example: jhead -n'%Y%m%d-%H%M%S(%03i)' *.jpg Will rename files matched by *.jpg to the format YYYYMMDD-HHMMSS(00#).jpg This will only work if the files have date and time information in the exif header (every digital camera I've owned does this), and this date and time on are correct. It has the advantage that you can easily incorporate the time in the new filename. Regards, Kim