Open esturdivant-usgs opened 5 years ago
I was trying variations of this to no avail:
cmd = """exiftool -d {}_{}{}_%Y%m%dT%H%M%SZ_%%f.%%e "-filename<GPSTimeStamp" {}""".format(surveyid, cam_id, flight_id, imagefolder) subprocess.check_call(cmd, shell=True)
Problems:
We could do this in two lines by 1) set the CreateDate from the GPS time and date; 2) create the filename from the CreateDate:
exiftool -d 2018015FA_m01fXX_%Y%m%dT%H%M%SZ_%%f.%%e "-filename<CreateDate" 001
I was trying variations of this to no avail:
Problems: