# Record gps data until script lifespan ends
declare debugCounter; debugCounter="0"; # set debug counter
timeStart=$(dateTimeShort); # Note start time
while [[ "$SECONDS" -lt "$scriptTTL" ]]; do
# Determine file paths (time is start of buffer period)
# Record gps data until script lifespan ends
declare debugCounter; debugCounter="0"; # set debug counter
timeStart=$(dateTimeShort); # Note start time
while [[ "$SECONDS" -lt "$scriptTTL" ]]; do
# Determine file paths (time is start of buffer period)