intermediate checkin
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!python3
|
||||
#!python
|
||||
|
||||
# https://github.com/hMatoba/Piexif
|
||||
# http://ce3wiki.theturninggate.net/doku.php?id=file_name_convention
|
||||
@@ -112,10 +112,10 @@ def rename(old, new):
|
||||
for daydir in Path(SRC).iterdir():
|
||||
if not daydir.is_dir():
|
||||
continue
|
||||
if daydir.name != "Aquaris U Plus":
|
||||
if daydir.name != "Sony a5100":
|
||||
continue
|
||||
print(f"[{daydir.name}] -------------------------------------------------")
|
||||
mo = re.match("(?P<dt>\S*)\s?(?P<title>.*)", daydir.name)
|
||||
md = mo.groupdict()
|
||||
title = md['title']
|
||||
recurse(daydir, md, camera="Aquaris U Plus")
|
||||
recurse(daydir, md)
|
||||
|
||||
Reference in New Issue
Block a user