Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

scp list of files using FOR LOOP in ksh

$
0
0
hi

i want to scp files from remote server B to my local server A...

and i have a file containing list of all files to be scped from remote server B

there is a passwordless connectivity set between remote server and my local server.

need a ksh script.. with a for loop that goes through the file and scp-s all the files
from remote server B to my local server.

kindly help.

Viewing all articles
Browse latest Browse all 16232

Trending Articles