![]() |
|
|
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 |
| transfer files from the server 1 to server 2 | bomozah | Linux | 2 | 11-03-2008 07:11 AM |
| copying files from one server to another server | manoj.solaris | Shell Programming and Scripting | 4 | 10-19-2008 07:20 AM |
| moving files from one server to another | uniksbro | UNIX for Dummies Questions & Answers | 1 | 07-31-2007 04:20 PM |
| FTP multiple files from remote server to local server | berlin_germany | Shell Programming and Scripting | 2 | 12-20-2006 03:24 AM |
| files of dns server | themask | UNIX for Advanced & Expert Users | 2 | 01-01-2002 11:38 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
FTP Files from one server to another
Hi,
I want to run a process on server a, pulling files from server b and pushing it to server c. Can i do that without dropping the files on server a? Thanks, Samit Last edited by samit_9999; 04-01-2009 at 01:38 PM.. |
|
||||
|
As Jim said, scp (secure copy). It functions much the same as copy and even has the "preserve" option (dash-p) so the transfered files maintain their original date/time stamp, permissions, etc.
Say you want to copy files whose names include today's date-stamp in /nas1/prod/data of node "penguin" to /nas3/dev/data of node "seal" and you are on irrelevant server. Your user ID is samit on penguin and s99 on seal. Oh, and you want to preserve the file attributes of the source files. Here's what you would type: Code:
irrelevant$ scp -p samit@penguin:/nas1/prod/data/*20090401* s99@seal:/nas3/dev/data |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|