Skip to main content

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:
Usage:
Features:
  • Scan files for email addresses
  • Replace BASE_URL in files
  • Replace TARGET_EMAIL in files
  • Batch processing
  • Recursive directory scanning
Configuration: Edit the script to set your base URL and target email:
Example:

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:
Usage:
Features:
  • Download specific repository folders
  • Support for GitHub and GitLab
  • Replaces deprecated SVN method
  • Preserves directory structure
  • Progress indication
Examples:
Why Use This Instead of SVN?
GitHub and GitLab have deprecated Subversion (SVN) support. This Python script provides the same functionality using the native Git API.
Previous SVN Method (Deprecated):
New Method with gitfolder.py:

Scan websites for broken links. Download:
Usage:
Features:
  • Scan websites for broken links
  • HTTP/HTTPS support
  • Recursive link checking
  • Detailed error reporting
  • Export results to file
Dependencies:
Examples:
Output Format:
Configuration Options: You can modify the script to customize:

Installation Script

Quick installation of all Python utilities:

Use Cases

Use Case: Update all email addresses and URLs in documentation
Use Case: Download only the scripts folder from a large repository
Benefits:
  • Saves bandwidth
  • Faster downloads
  • No need for full git clone
Use Case: Regular link checking for website maintenance

Advanced Usage

Combining Scripts

Use multiple utilities together:

Automation Examples

Troubleshooting

Common Issues

Solution:
Solution:
Solution:

Requirements

System Requirements

  • Ubuntu 22.04 or 24.04 (or compatible Linux distribution)
  • Python 3.8 or higher
  • Internet connection

Python Packages

License

Always review script contents and test in a safe environment before running on production systems.