Why this methodolgy?

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.

"*.txt"
".../temp/*.txt"

This is not globbing, these are strings. The files must exist with such names.

And, SHOULD the * be expanded - e.g. by moving it before the quotes - to multiple file names, they all would end up in one single file, the last one overwriting all predecessors that might have been moved before, and all of those would be lost...