Skip to content

Instantly share code, notes, and snippets.

View bsacheri's full-sized avatar

Ben bsacheri

  • Pittsburgh, PA
View GitHub Profile
@bsacheri
bsacheri / TimeStamp_Adjust.py
Created November 10, 2023 02:18
Make adjustments to the timestamp of .jpg and .mp4 files names
# Make adjustments to the timestamp of .jpg and .mp4 files names
#
# This is useful if your camera's clock is wrong or not handling daylight saving time.
#
# Place this Python file in a folder that has .jpg and .mp4 files from the Maxto M3 camera.
# When you run the script, it will rename files by subtracting changeHour and changeMinute
# from the formatted time in the filename. It will do the same for the file Modified date.
# You will be prompted to enter a password. If no password is entered it will run a test
# and put the results into the log file.
#