The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Copying a list of files from one 'server' to another?
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Copying a list of files from one 'server' to another?
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
04-23-2007
Percy
Registered User
Join Date: Jan 2007
Posts: 14
files.txt contains a list of every file you want to copy.
Code:
for line in files.txt do cp $line server:$line done
You get the gist...
...oh - unless its scp or something and then you'd end up having to type in your password for each line
Percy
View Public Profile
Find all posts by Percy
Find Percy's past nominations received
Find Percy's present nominations given