Less verbose outputs for more clarity
This commit is contained in:
+5
-12
@@ -72,20 +72,13 @@ def scan_photos(root_dir, base_target_path):
|
||||
|
||||
file_info_list.append((file_path, date_time_str, destination_dir))
|
||||
|
||||
# Print all items and their proposed destinations
|
||||
print("\n========================================================")
|
||||
print("--- File Name & Proposed Destination Directory ---")
|
||||
print("========================================================\n")
|
||||
|
||||
# Print all items in compact format
|
||||
print()
|
||||
for file_path, date_time_str, dest_dir in file_info_list:
|
||||
print(f"File: {os.path.basename(file_path)}")
|
||||
print(f" -> Extracted Date: {date_time_str}")
|
||||
print(f" -> Proposed Destination Directory: {dest_dir}")
|
||||
print("-" * 40)
|
||||
filename = os.path.basename(file_path)
|
||||
print(f"{filename} -> {dest_dir}")
|
||||
|
||||
print(f"\n========================================================")
|
||||
print(f"--- Scan complete. Found {len(file_info_list)} files. ---")
|
||||
print("Files with the same date will point to the same destination directory.")
|
||||
print(f"\nFound {len(file_info_list)} files.")
|
||||
|
||||
# Ask for confirmation
|
||||
response = input("\nDo you want to copy these items? (y/yes): ").strip().lower()
|
||||
|
||||
Reference in New Issue
Block a user