
Renaming photos based on exif data and adjusting exif date and time offsets are some of the things that the "jhead" command can do. On 7/10/19 8:19 pm, Petr Baum via luv-main wrote:
On Mon, 7 Oct 2019 07:46:50 PM Andrew Greig via luv-main wrote:
Hi Andrew,
I am using python script written for me twenty years ago. The current version is 3.8 KiB.
Script changes all camera originated file names for given directory to the format similar to the following example:
20190925_162322-pmb-G7X.jpg
where the first part is date and time (from exif if available), the second part is based on the name of directory, where image files are located. If raw file exists it is renamed to the same string:
20190925_162322-pmb-G7X.CR2
While it may solve your problem, it also allows to easily mix images from various cameras and phones if date/time in the camera is correctly set (if not it can be adjusted by this script). It also helps with various searches etc.
Let me know if you are interested...
Petr Baum
_______________________________________________________________
Hi all,
My camera has just ticked over 10,000 images in around 8 months, and so
another folder has opened up on the SD card, prior to today the file
folder was 100EOS5D, the new folder is 101EOS5D, but the counter has
reset from 6H9A9999 to 6H9A0001. At this rate I cannot afford to have
the same file numbers repeating in the same calendar year. I can go into
the Camera and change the file numbering to 6J9Axxxx, but how can I run
a bulk renaming of my Raw Files - not being a scripter I am at a (self
imposed) disadvantage,
I have tried to understand the several ways to achieve this,but I have
not grasped it.
Rename 6H9A0001.CR2 6J9A0001.CR2
Rename 6H9A0002.CR2 6J9A0002.CR2
Rename 6H9A0003.CR2 6J9A0003.CR2
Rename 6H9A0004.CR2 6J9A0004.CR2
to
Rename 6H9A0085.CR2 6J9A0085.CR2
Any help would be gratefully received.
Andrew Greig
_______________________________________________
luv-main mailing list
luv-main@luv.asn.au
--
<pb-luv@baum.com.au>
Petr Baum, P.O.Box 2364, Rowville 3178
fax +61-3-97643342
This message was created in naturally virus-free operating system: Linux
_______________________________________________ luv-main mailing list luv-main@luv.asn.au https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main