Script now shows CreationDate only, not time
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ def get_exif_date(file_path):
|
||||
# Command: exiftool -d "Format" -CreateDate "file_path"
|
||||
# The -d option allows specifying the desired output format.
|
||||
result = subprocess.run(
|
||||
['exiftool', '-d', "%Y-%m-%d %H:%M:%S", '-CreateDate', file_path],
|
||||
['exiftool', '-d', "%Y-%m-%d", '-CreateDate', file_path],
|
||||
capture_output=True,
|
||||
text=True,
|
||||
check=True
|
||||
|
||||
Reference in New Issue
Block a user