Overview
Collection of Python utilities for automating common tasks including Git folder downloads, email scanning, and broken link detection. All scripts are tested on Ubuntu 22.04/24.04.Prerequisites
Install Python 3
Common Dependencies
Most scripts require additional Python packages. Install them as needed:Available Scripts
Email Scan
Scan files and replace email addresses and URLs. Download:- Scan files for email addresses
- Replace BASE_URL in files
- Replace TARGET_EMAIL in files
- Batch processing
- Recursive directory scanning
- Basic Usage
- Custom Directory
Git Folder Download
Replaces Subversion (SVN) for downloading specific GitHub/GitLab folders Download specific folders from GitHub/GitLab repositories without cloning the entire repository. Download:- Download specific repository folders
- Support for GitHub and GitLab
- Replaces deprecated SVN method
- Preserves directory structure
- Progress indication
GitHub and GitLab have deprecated Subversion (SVN) support. This Python script provides the same functionality using the native Git API.
Link Check
Scan websites for broken links. Download:- Scan websites for broken links
- HTTP/HTTPS support
- Recursive link checking
- Detailed error reporting
- Export results to file
Installation Script
Quick installation of all Python utilities:Use Cases
Email Scanning
Email Scanning
Use Case: Update all email addresses and URLs in documentation
Partial Repository Downloads
Partial Repository Downloads
Use Case: Download only the scripts folder from a large repositoryBenefits:
- Saves bandwidth
- Faster downloads
- No need for full git clone
Website Maintenance
Website Maintenance
Use Case: Regular link checking for website maintenance
Advanced Usage
Combining Scripts
Use multiple utilities together:Automation Examples
- Cron Job
- Systemd Timer
- Bash Script
Troubleshooting
Common Issues
ImportError: No module named 'requests'
ImportError: No module named 'requests'
Solution:
Permission Denied
Permission Denied
Solution:
SSL Certificate Errors
SSL Certificate Errors
Solution:
Requirements
System Requirements
- Ubuntu 22.04 or 24.04 (or compatible Linux distribution)
- Python 3.8 or higher
- Internet connection