Here is a shell script boilerplate, to get you started. It's not much but it's still better than nothing.

#!/usr/bin/env bash

set -o errexit
set -o nounset
set -o pipefail
if [[ "${TRACE-0}" == "1" ]]; then
    set -o xtrace
fi

if [[ "${1-}" =~ ^-*h(elp)?$ ]]; then
    echo 'Usage: ./script.sh arg-one arg-two
This is an awesome bash script to make your life better.
'
    exit
fi

cd "$(dirname "$0")"

main() {
    echo do awesome stuff
}

main "$@"

Also, the timestamp is one of the important components of any shell script. Have a look at Create timestamp variable in bash script. to get more info about how to embed timestamps in your shell script.

You can find a starting point for bash scripting through this repo. It is a great resource to get started.