An advanced Python-based file copy utility with progress bars, checksum verification, retries, and system statistics (CPU, RAM, network speed). Designed for reliable file transfers with clear visual feedback.
https://github.com/im-jayson-f/Advanced-File-Copy-Utility.git
python -m venv venv
# On Linux/macOS
source venv/bin/activate
# On Windows
venv\Scripts\activate
Install manually:
pip install tqdm colorama psutil
Basic command:
python SmartCopy-Utility.py <source> <destination> [--retry N] [--list-missing [copy-all]]
Copy a folder from C: to D:
python SmartCopy-Utility.py "C:\source_folder" "D:\destination_folder"
Copy a file with 3 retry attempts on failure:
python SmartCopy-Utility.py "./my file.zip" "./backup" --retry 3
List missing files without copying:
python SmartCopy-Utility.py "./source" "./backup" --list-missing
List and copy only missing files:
python SmartCopy-Utility.py "./source" "./backup" --list-missing copy-all
Argument | Required | Default | Description |
---|---|---|---|
source |
✅ Yes | – | Path of the file or folder to copy. |
destination |
✅ Yes | – | Path to the destination folder. |
--retry N |
❌ No | 0 |
Number of retries for failed file copies. 0 = no retry (only one attempt). |
--list-missing |
❌ No | – | Show missing files (those not yet copied). Use --list-missing alone to list only, or --list-missing copy-all to copy just the missing files. |
- Progress bar with file size tracking
- Checksum verification to ensure data integrity
- Retry mechanism for failed copies
- Real-time system statistics (CPU, RAM, network speed)
- Cross-platform support (Windows, macOS, Linux)
The following Python packages are required:
tqdm
colorama
psutil
Install them via:
pip install tqdm colorama psutil
--- Advanced Python File Copy Utility ---
Source: C:\source_folder
Destination: D:\destination_folder
Retries: 3
100% |██████████████████████████████████████████████████████████████| 12.3G/12.3G [6:46:27<7:19:19, 1.82MB/s]
CPU: 12.5% | RAM: 48.3% | Up: 0.00 KB/s | Down: 0.00 KB/s | File: example.bak
Transfer complete!
Total time elapsed: 53 second(s)
Press Enter to exit.
MIT License. Free to use and modify. 😊✨