added new camera
This commit is contained in:
@@ -24,11 +24,11 @@ def rename(old, new):
|
||||
|
||||
# src = Path(r'D:\Videos')
|
||||
# src = Path(r"D:\MediaLibrary\Pictures\2023\20230819 Urlaub Nordkapp")
|
||||
src = Path(r"U:\shared\Nordkapp\Processed")
|
||||
src = Path(r"U:\shared\Nordkapp\FullHD\Samsung Galaxy A41")
|
||||
|
||||
|
||||
for raw in src.glob("*.mp4"):
|
||||
mo = re.match("(?P<author>[^-]*)-(?P<dt>\S{8}-\S{6})-(?P<model>[^-]*)(-\S+)?.mp4", raw.name)
|
||||
for raw in src.glob("*.jpg"):
|
||||
mo = re.match("(?P<author>[^-]*)-(?P<dt>\S{8}-\S{6})-?(?P<model>[^-]*)(-\S+)?.jpg", raw.name)
|
||||
if mo is None:
|
||||
print(f"skipped {raw.name}, no match")
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user