#!/usr/bin/env bash set -euo pipefail # Example of how to execute a script # Path to the script to execute COPY_SCRIPT="./assets/scripts/copy_stuff.sh" # Check if the script exists if [ ! -f "$COPY_SCRIPT" ]; then echo "Error: Script $COPY_SCRIPT does not exist." exit 1 fi # Execute the script "$COPY_SCRIPT" TIMESTAMP_FILE="$HOME/timestamp.txt" date +"%Y-%m-%d %H:%M:%S" > "$TIMESTAMP_FILE"