updated cameras
This commit is contained in:
@@ -38,7 +38,7 @@ def recurse(dir, md, camera=None):
|
|||||||
# defaults
|
# defaults
|
||||||
use_ts = True
|
use_ts = True
|
||||||
use_camera = True
|
use_camera = True
|
||||||
author = "ab"
|
author = "th"
|
||||||
mtime = fp.stat().st_mtime
|
mtime = fp.stat().st_mtime
|
||||||
rawdt = dt.datetime.fromtimestamp(mtime)
|
rawdt = dt.datetime.fromtimestamp(mtime)
|
||||||
if fp.suffix.lower() == ".jpg":
|
if fp.suffix.lower() == ".jpg":
|
||||||
@@ -112,7 +112,7 @@ def rename(old, new):
|
|||||||
for daydir in Path(SRC).iterdir():
|
for daydir in Path(SRC).iterdir():
|
||||||
if not daydir.is_dir():
|
if not daydir.is_dir():
|
||||||
continue
|
continue
|
||||||
if daydir.name != "Sony a5100":
|
if daydir.name != "iPhone":
|
||||||
continue
|
continue
|
||||||
print(f"[{daydir.name}] -------------------------------------------------")
|
print(f"[{daydir.name}] -------------------------------------------------")
|
||||||
mo = re.match("(?P<dt>\S*)\s?(?P<title>.*)", daydir.name)
|
mo = re.match("(?P<dt>\S*)\s?(?P<title>.*)", daydir.name)
|
||||||
|
|||||||
Reference in New Issue
Block a user