The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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
Auto copy for files from folder to folder upon instant writing Bashar UNIX for Advanced & Expert Users 2 08-21-2008 03:44 PM
Copy and entire folder except one vibhor_agarwali UNIX for Dummies Questions & Answers 6 10-12-2007 09:02 AM
How to copy Folder with FTP heru_90 Shell Programming and Scripting 1 08-23-2006 12:17 AM
copy folder contents robsk8_99 UNIX for Dummies Questions & Answers 1 02-22-2005 06:54 PM
copy folder tamemi UNIX for Dummies Questions & Answers 1 04-04-2004 11:29 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-06-2006
sak900354 sak900354 is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 31
copy folder from one server to another

Dear ALL

I have two Sco Unix ver 5.0.5 servers and i want to copy one folder from server A (IP 192.168.0.1) to server B(IP 192.168.0.2).

I want a script file using maybe "ftp" to do the job

Kindly any help
  #2 (permalink)  
Old 07-06-2006
grial's Avatar
grial grial is offline Forum Advisor  
El UNIX es como un toro
  
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
I think this has been asked before in this forum, try to search before.
Anyway I'll give you some clues:
- ftp: do it "no interactive" and use "mget"
- ssh: "tar cf - dir/ | ssh user@host tar xf -" (needs user interaction if not using cert. auth.)
Regards.
  #3 (permalink)  
Old 07-06-2006
Hitori's Avatar
Hitori Hitori is offline Forum Advisor  
Registered User
  
 

Join Date: Jun 2006
Posts: 360
try rcp(1) or scp(1)
  #4 (permalink)  
Old 07-07-2006
sak900354 sak900354 is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 31
i have used rcp as the following thread shoes and ammended .rhosts and host.equiv

rcp between two unix machine


but it is giving me permission denied
  #5 (permalink)  
Old 07-07-2006
grial's Avatar
grial grial is offline Forum Advisor  
El UNIX es como un toro
  
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
Are you using "root"?
  #6 (permalink)  
Old 07-07-2006
Dhruva's Avatar
Dhruva Dhruva is offline
Registered User
  
 

Join Date: Mar 2006
Location: India
Posts: 255
Please search the forum this question is answred many times.And as per your reqyirements you will get exact script to do the job.
Please always make a search before posting.
Closed Thread

Bookmarks

« variable | grep »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:27 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0