Update .env file by bash shell script

ini file or .env file

RELEASE_DATA='Thu 18 Apr 2019 13:03:46 AEST'

Shell script 1

#!/bin/bash

datetime=$(date)

find ./env -type f -exec sed -i '' -e "/^RELEASE_DATA=/s/=.*/=\'$datetime\'/" {} \;