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
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
Copying a list of files from one 'server' to another?
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
04-23-2007
Percy
Registered User
Join Date: Jan 2007
Posts: 13
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