![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| copying .profile files to a new server (SCO) | sighbrrguy | UNIX for Dummies Questions & Answers | 2 | 12-05-2007 03:02 PM |
| copying files from one location to another based on a list | rebornhonest | UNIX for Dummies Questions & Answers | 4 | 11-30-2007 03:32 PM |
| Copying files from laptop to remote server using SSH | patwa | UNIX for Dummies Questions & Answers | 3 | 11-22-2006 04:14 AM |
| copying files to a remote aix server using tar! | system-admin | AIX | 2 | 11-17-2006 03:30 PM |
| Copying files between 2 Unix server | Docboyeee | UNIX for Advanced & Expert Users | 9 | 10-20-2003 02:54 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Copying a list of files from one 'server' to another?
I have two servers. I would like to copy some files from one directory on server A into the same directory on server B.
Its not all the files in in the directory, just some of them. Is there a way to make a file list in a txt file and then somehow copy all the files in that list in one go to the other server? Thanks. |
|
||||
|
files.txt contains a list of every file you want to copy.
Code:
for line in files.txt
do
cp $line server:$line
done
...oh - unless its scp or something and then you'd end up having to type in your password for each line ![]() |
|
||||
|
use symlinks
Quote:
Code:
cat file_list | sed 's/^.*$/ln -s & /' > symlink_script.sh |
|
||||
|
File server from one server to another server
Can anyone give me complete discription of following statement as am new to Unix.
scp "file 1" "file 2" etc. remote.server athI want to transfer file e.g test.sh to C drive in 102.19.23.122 , I am tryig like scp test.sh 102.19.23.122:C but its not working , |
|
||||
|
Quote:
Code:
open DOS cd c: ftp unixbox user paswword cd /dir [ directory where your tesh.sh is present] get test.sh bye Devaraj Takhellambam |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|