From 4f3a72b81e603de985e1c91dfecb13a16585b0c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksi=20R=C3=A4s=C3=A4nen?= Date: Sun, 19 Apr 2026 15:07:40 +0300 Subject: [PATCH] More info to user if we copy files --- photoimport.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/photoimport.py b/photoimport.py index 5efe366..1725fe0 100644 --- a/photoimport.py +++ b/photoimport.py @@ -104,7 +104,12 @@ def scan_photos(root_dir, base_target_path): print(f"File already exists: {dest_file} (skipped)") skipped_exists_count += 1 else: + filename = os.path.basename(file_path) + print("\n--- Starting copy of: " + filename + " ---") + print("Source: " + file_path) + print(f"Destination: {dest_file}") shutil.copy2(file_path, dest_file) + print(f"Successfully copied: {filename}") copied_count += 1 # Summary