Compare commits
No commits in common. "1ad307a4626cbf4b9f203920373b40e0623bd65c" and "3bb1600e623afa1e37c1b109812cf985fbf76696" have entirely different histories.
1ad307a462
...
3bb1600e62
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -1,3 +0,0 @@
|
||||
{
|
||||
"editor.acceptSuggestionOnEnter": "on"
|
||||
}
|
@ -7,14 +7,8 @@ import pathlib
|
||||
from PIL import Image, ExifTags
|
||||
import pendulum
|
||||
|
||||
from tkinter import filedialog
|
||||
from tkinter import *
|
||||
root = Tk()
|
||||
root.withdraw()
|
||||
INGEST_DIR = filedialog.askdirectory()
|
||||
|
||||
# INGEST_DIR = pathlib.PureWindowsPath(
|
||||
# r'C:\Users\ahosking\Nextcloud\Camera Uploads\Alex\2022')
|
||||
INGEST_DIR = pathlib.PureWindowsPath(
|
||||
r'C:\Users\ahosking\Nextcloud\Camera Uploads\Alex\2022')
|
||||
PHOTO_LIBRARY = '//192.168.1.4/photos/photo_library/'
|
||||
# TODO: Add dircectory traversal
|
||||
file_list = []
|
||||
@ -30,8 +24,8 @@ def compare_and_move():
|
||||
print(root, d_names, f_names)
|
||||
print(file_list)
|
||||
print(len(file_list))
|
||||
# process_files(file_list)
|
||||
# remove_empty_directories(INGEST_DIR)
|
||||
process_files(file_list)
|
||||
remove_empty_directories(INGEST_DIR)
|
||||
|
||||
|
||||
def process_files(file_list):
|
||||
|
Loading…
Reference in New Issue
Block a user