I have the path A
and the destination B
. This destination is repeated for multiple clients as the structure below shows:
A -->app.exe -->server.ini -->js.png. B-Cliente 01 -->app_cliente01.exe -->server.ini -->js.png. B-Cliente 02 -->app_cliente02.exe -->server.ini -->js.png B-Cliente 03 -->app_cliente03.exe -->server.ini -->js.png.
I need to copy all files from the A
directory to the B
paths, however when doing this copy I need to rename the files with part of the target name.
Example: app.exe
would be app_cliente01.exe
when copied to B-Cliente 01
folder.