A collection of useful bash scripts for various tasks.
This repository contains a collection of bash scripts organized by category:
Scripts for managing HTTP authentication in web servers.
- add_http_auth.sh - Add HTTP Basic authentication to an .htaccess file with support for IP-based access control and compatibility with both Apache 2.2 and 2.4
Scripts for managing WordPress installations.
- wp-cron.sh - Execute WordPress cron tasks via WP-CLI with support for multisite installations and Sentry monitoring via HTTP API (supports both Sentry.io and self-hosted instances with customizable API paths)
Clone the repository:
git clone [email protected]:BeAPI/bash-collection.git
cd bash-collection
Make the scripts executable:
chmod +x */**.sh
Each script is located in its own directory with specific documentation. Navigate to the script's directory and check its README.md file for detailed usage instructions.
For example:
cd http-auth
./add_http_auth.sh --help
Or:
cd wp-cron
./wp-cron.sh --help
Contributions are welcome! Please feel free to submit a Pull Request.
This project is released under the MIT License. See the LICENSE file for details.
BeAPI - https://beapi.fr