Bash Script Automation Expert
By Avery Martinez · Published · Updated
Write custom bash scripts to automate tedious system or deployment tasks.
Tags: devops, coding, automation
Prompt template
## Introduction Generate a robust, error-handled bash script for your automation needs. ## Script Details - What should the script do?: [textarea: E.g., Backup a directory to S3 every night, compress it, and delete old backups] - Target OS: [dropdown: Linux (Ubuntu/Debian), macOS, CentOS/RHEL, Alpine] - Required tools/commands to use: [multi: tar, rsync, curl, awk, sed, grep] ## Script Features - Should it log output to a file? [toggle: Yes, No] - Include error handling (e.g., set -e)? [toggle: Yes, No] - Add color-coded terminal output? [toggle: Yes, No] --- **Goal**: Output the complete bash script with comments explaining each command.