techieNetizen's Web Log
Friday, November 12, 2010
BASH script for reading input line by line from a list file and do a loop command
#! /bin/bash
cat file.lst |while read line; do scp "${line}" host:/directory_location; done
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment