The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
copying directories from NT server to Unix server (solaris 5.8) jhmr7 UNIX for Dummies Questions & Answers 4 08-07-2008 10:53 PM
Copy selected Directories sigurarm UNIX for Dummies Questions & Answers 2 12-21-2007 09:57 AM
Copy single file to multiple directories kthatch UNIX for Dummies Questions & Answers 2 11-11-2007 03:10 PM
copy multiple files in different directories ken2834 UNIX for Dummies Questions & Answers 3 03-25-2007 10:35 AM
Find directories not containing foo, and copy foo to them dkaplowitz Shell Programming and Scripting 6 06-29-2005 05:50 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-11-2005
Registered User
 

Join Date: Oct 2005
Posts: 4
Copy Directories in to UNIX server

I have software on Z drive " I map it " , its about 50 MB , I want to copy the whole directory in to unix server , under some folder ...
What are the steps how Ican perform this ?
I have UNIX user name and password and rights to create files and folders..
Remember I want to copy all the folder , files which are under that specfic dirctort to UNIX dirctory .
How I can achive this task
Waiting
Bye
Reply With Quote
Forum Sponsor
  #2  
Old 11-14-2005
Registered User
 

Join Date: Nov 2005
Posts: 2
Quickest and easiest way to get your files there would be to use ftp.
Open command prompt (start, run, command)
change to the drive and directory you wish to send (z:)
ftp name_of_unix_server (login and password)
ftp> cd /directory_you_want_files_on_unix_server
ftp> bin
ftp> prompt
ftp> recurse
ftp> mput *
ftp> bye

Done.

Last edited by bakunin; 12-07-2005 at 10:07 AM.
Reply With Quote
  #3  
Old 12-07-2005
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,262
The AIX-ftp client doesn't know the "recurse" subcommand. I don't know about the Windoze-ftp client, but suppose that things not known by UNIX-tools are way out of scope for the most common PC-virus.

There are some third-party ftp clients which allow recursion for Windoze, though.

The most elegant way would be to tar your directory structure, transfer the resulting file through ftp and untar it afterwards. GNU-tar for Windoze is easily available from many websites, for instance "http://gnuwin32.sourceforge.net/packages/tar.htm".

If the directory you want to transfer is "z:\mydir" and the place you want it to be on your target machine is "/newplace/for/mydir" you do the following:

make "z:\" your current directory
z:\> tar -cvf mydir.tar ./mydir
ftp the file mydir.tar to a temporary space on your target machine
log on to target machine and go to /newplace/for
# cd /newplace/for
# tar -xvf /tmp/path/mydir.tar

...and voilá!

you can delete the file /tmp/path/mydir (the one you have transferred via ftp) afterwards.

Hope this helps.

bakunin
Reply With Quote
  #4  
Old 12-09-2005
Registered User
 

Join Date: Dec 2005
Posts: 1
Duane Ryan and bakunin gave good two idea to transfer the whole directory in unix to unix Machine.

Keep It Up and Share ur Ideas.


Thankx and Regards
Kaniraj Raja
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:37 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