I'm having an issue while trying to parse a date/time string in inside the find function. Anybody has any idea how to solve this? Many thanks.
src_dir="/Users/user/directory/subdirectory" start_dt='2018-08-15' end_dt='2018-08-21' find src_dir -name "*.txt" -newermt start_dt ! -newermt end_dt -exec ls -l "{}" \;
Result: " find: Can't parse date/time: start_dt "