#!/bin/bash # create timelapse # Check if the timestamp is provided #if [ -z "$1" ]; then # echo "Usage: ./test.sh --timestamp=\"2025-07-25 12:00:00\"" # exit 1 #fi # Extract the timestamp from the argument #TIMESTAMP=$(echo $1 | awk -F'=' '{print $2}')4