ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » how to copy directory in unix

Post new topic  Reply to topic
 how to copy directory in unix « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Wed Feb 08, 2006 2:03 pm    Post subject: how to copy directory in unix Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Can someone help me how to copy a directoy from one unix machine to another.

thanks a lot

jeevan
Back to top
View user's profile Send private message
vennela
PostPosted: Wed Feb 08, 2006 2:08 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

See if rcp works.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
csmith28
PostPosted: Wed Feb 08, 2006 2:24 pm    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

Please do not post questions that are not related to WMQSeries in "General Websphere MQ Support" forum".

jeevan, are there any sub-directories in the directory you want to copy?

If not you can just mkdir the directory on the target server then using ftp, mget all the files from the directory in question but you need to make sure you don't get a binary file in ASCII mode and vice versa.

Otherwise you can tar up the contents of the directory in question and use ftp, rcp or scp to move the tar ball over to the target server and then un-tar it.
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
jeevan
PostPosted: Fri Feb 10, 2006 12:46 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

no subdirectory. just files in it.
Back to top
View user's profile Send private message
jeevan
PostPosted: Fri Feb 10, 2006 12:55 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

no subdirectory. just files in it.
Back to top
View user's profile Send private message
KramJ
PostPosted: Fri Feb 10, 2006 12:59 pm    Post subject: Reply with quote

Voyager

Joined: 09 Jan 2006
Posts: 80
Location: Atlanta

tar -cvf archive.tar *
FTP
tar -xvf archive.tar
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Feb 10, 2006 1:03 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

man scp
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » how to copy directory in unix
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.