I have a quick question. A colleaguge has placed this in a shell script:
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.
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...