More info to user if we copy files
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user