Hi,
There are similar kind of posts, but none seems like working for me. Please correct me if I'm wrong.
I need append/rename file abc.txt with file processed date and time like abc_systemdatetimestamp.txt
and move it to different folder.
for example I have
/source/data/abc.txt
after processing this file I need to move this file to and as
/source/archive/abc_20110730112230.txt
what I tried is...as I know is not the right approach may be
mv /source/data/abc.txt /source/archive/abc.txt|date +G%d%H%M%S
and
mv /source/data/abc.txt /source/archive/abc|date +G%d%H%M%S.txt
Thanks in advance.