This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| param ( | |
| [string]$jpgDir = $(Read-Host "Enter path to JPG directory"), | |
| [string]$rawSourceDir = $(Read-Host "Enter path to RAW source directory"), | |
| [string]$rawDestDir = $(Read-Host "Enter path to RAW destination directory"), | |
| [string]$rawExt = $(Read-Host "Enter RAW file extension (e.g., ARW, RAF, CR3)") | |
| ) | |
| # Normalize extension | |
| $rawExt = $rawExt.TrimStart('.').ToUpper() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import shutil | |
| import sys | |
| def copy_corresponding_raw_files(jpg_dir, raw_source_dir, raw_dest_dir, dry_run=False): | |
| # Validate input directories | |
| if not os.path.isdir(jpg_dir): | |
| print(f"❌ JPG directory not found: {jpg_dir}") | |
| sys.exit(1) | |
| if not os.path.isdir(raw_source_dir): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1.52.0.0/14 | |
| 14.0.16.0/20 | |
| 14.160.0.0/11 | |
| 14.224.0.0/11 | |
| 27.0.12.0/22 | |
| 27.0.240.0/22 | |
| 27.2.0.0/15 | |
| 27.64.0.0/12 | |
| 27.118.16.0/20 | |
| 42.1.64.0/18 |