parallel file copy
Hi Team,
I am using a winscp script to copy log file from multiple unix servers.
snippet:
But the log files are huge in size and it is taking very long time to copy 8 files from 8 servers.
Is there any way to copy all the files (which are located on different servers) parallely, instead of sequentially?
I am using a winscp script to copy log file from multiple unix servers.
snippet:
option batch abort option confirm off open sftp://user:password@mysite1 -hostkey="xxx-xxx 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" cd / cd /xxx/xxx lcd c:\logs option transfer binary get SystemOut.log close open sftp://user:password@mysite2 -hostkey="xxx-xxx 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" cd / cd /xxx/xxx lcd c:\logs option transfer binary get SystemOut.log close ---
But the log files are huge in size and it is taking very long time to copy 8 files from 8 servers.
Is there any way to copy all the files (which are located on different servers) parallely, instead of sequentially?