The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Copying a list of files from one 'server' to another? Sepia UNIX for Dummies Questions & Answers 3 09-10-2008 11:44 AM
copying directories from NT server to Unix server (solaris 5.8) jhmr7 UNIX for Dummies Questions & Answers 4 08-07-2008 10:53 PM
copying .profile files to a new server (SCO) sighbrrguy UNIX for Dummies Questions & Answers 2 12-05-2007 12:02 PM
Copying files from laptop to remote server using SSH patwa UNIX for Dummies Questions & Answers 3 11-22-2006 01:14 AM
copying files to a remote aix server using tar! system-admin AIX 2 11-17-2006 12:30 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 10-17-2003
Registered User
 

Join Date: Oct 2003
Location: Mississippi
Posts: 1
Lightbulb server 2 server

I need to do this same thing (copy an entire directory from one server to another)

Did you get an answer? If so, what was it?
__________________
-- DGS, Sr.
Forum Sponsor
  #9  
Old 10-17-2003
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
A couple of solutions...

Recursive FTP -- here at last.
  #10  
Old 10-20-2003
Kelam_Magnus's Avatar
Registered User
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
Quote:
Originally posted by roden


You can also mount a NFS filesystem from the other host to your local and do the traditional (in this case with Kornshell):

cd /nfsmountedfilesystem
tar cf - .|(cd /localfilesystemtocopyto&&tar xvf -)

Or why not pipe trough rsh:

rsh "cd /directory&&tar cf - ."|(cd /localdirectory&&tar xvf -)

However if this needs some padding and fiddling depending on rsh/rshd implementations.


NFS mounting is my favorite way other than SSH to do this type of copy...

But i use this command... when I had to copy a 26GB filesystem...

From the tar manpage:::

cd fromdir ; tar cf - . | ( cd todir ; tar xf - )
__________________
My brain is your brain
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:23 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0