KumarRahul605332

Copy multiple files from one folder to another

Discussion created by KumarRahul605332 on Oct 20, 2015
Latest reply on Oct 20, 2015 by KumarRahul605332
I am trying to copy multiple  files from one folder to another. I need to add date and time stamp at the end of each file in the destination folder. 

The following commands are working but I am not able to find the command to to append &date_&time at the end of the files in the destination directory. 

:SET &date=sys_date('YYMMDD')
:SET &time=sys_time('HHMMSS')
cp /interfaces/BEV/W2/outbound/11379* /interfaces/BEV/backup/W2/outbound

Is there any way i can achieve this task through UC4 or do I have to write a Unix script to achieve this?




Outcomes