The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
Information needed Shinjin UNIX for Dummies Questions & Answers 2 04-20-2008 09:50 PM
not showing restore information while run script happyv Shell Programming and Scripting 1 11-20-2007 04:05 AM
read a part of information from txt and put into the script happyv Shell Programming and Scripting 18 10-27-2006 10:46 AM
Script execution information manthasirisha Shell Programming and Scripting 12 07-07-2006 08:54 AM
Sun Solaris information needed tarballed UNIX for Dummies Questions & Answers 10 08-30-2002 01:27 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-17-2007
chris1234 chris1234 is offline
Registered User
  
 

Join Date: Apr 2006
Posts: 74
Script information needed

Transferring files from one unix server to another one was easy for me. I used a relative path which worked for me. thanks to porter.

My question now is that:-

1)Say for instance i have one unix server with name(ABC). PATH: /home/web/props . I have bunch of different users folders in that props directory. for eg dia/downloads or alex/downloads.. etc..

2) I have another unix server (XYZ). URL: /home/webapps/users

What i wanted to do is copy whatever is inside /home/web/props from ABC unix server to XYZ unix server under /home/web/webapps. If its a new user then create a directory by the same name under XYZ.

Hope you all can understand. Is it possible? how any clues? any links i can read

Bottom Line: I would like to copy each and every folder under props directory from ABC unix server to XYZ unix server. If directory exist then just do a simple secure transfer copy if not then create a directory.
Thanks
  #2 (permalink)  
Old 12-17-2007
rakeshou rakeshou is offline
Registered User
  
 

Join Date: May 2007
Posts: 75
use recurcive rcp

you can use recursive rcp or tar the directory you want to transfer and then extract it in the desired directory
  #3 (permalink)  
Old 12-17-2007
chris1234 chris1234 is offline
Registered User
  
 

Join Date: Apr 2006
Posts: 74
Thanks rakesh. Can you give me an example or may be a link which i can read?
  #4 (permalink)  
Old 12-17-2007
chris1234 chris1234 is offline
Registered User
  
 

Join Date: Apr 2006
Posts: 74
thanks rakesh. well the script is not different from the secure directory copy command. anyways thanks for your effor and i will try to do more research on it to see if i can accomplish that goal.

Thanks
Sponsored Links
Closed Thread

Bookmarks

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 04:48 AM.


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