Write a Bash script that [task]. Use set -euo pipefail, validate arguments, print usage help, log steps with timestamps, clean up temporary files on exit, and make it safe to run twice.
Coding & Development
Bash script with safe defaults
A robust shell script with error handling and logging.