Hi Folks -
I have a quick question. A colleaguge has placed this in a shell script:
mv "*.txt" "${_FCST_EXPORT_PATH}/temp/EPBCS_Forecast_${_DATETIMESTAMP}.txt"
mv "${_FCST_EXPORT_PATH}/temp/*.txt" "${_FCST_EXPORT_PATH}"
What is the purpose of this? If I understand it correctly, the temp directory is unnecessary and he's using it to just append datetimestamp and can be done in one line.
Thanks.