LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-24-2010, 02:16 PM   #1
farooqnasim
Member
 
Registered: May 2009
Posts: 30

Rep: Reputation: 15
window xp disk sharing


I have a LAN running RHEL 4. I have connected a windows xp machine onto that LAN and want to copy some 100 gb data on to any of the linux boxes having free space. What could be the best solution for that including smb or ssh. I dont have any security problems. Please refer me to simple steps or any HowTo.
 
Old 02-24-2010, 02:40 PM   #2
jwl17330536
Member
 
Registered: Feb 2010
Location: Raleigh, NC
Posts: 83

Rep: Reputation: 22
scp or rsync I feel would be the best.
 
Old 02-24-2010, 09:20 PM   #3
Jeeper98
LQ Newbie
 
Registered: Feb 2010
Posts: 23

Rep: Reputation: 16
Depends

If the XP computer is the USER computer and a decent Linux Distro is the Administrator computer (one head of the network) then the Administrator (head) can see all the files provided XP is seeing Linux correctly. Then the Administrator simply goes to network then chooses the PC with files then it will open all the folders on Drive C: on the XP one. Then you should see a folder saying your name (ex B. Bob Slingblade") inside is all the user files then highlight whatever you need right click copy.
Go back to Network and look at the other PC's and paste the files in the user account. It will take a while to copy.

Alternatives:

Lots of CD or DVD
Jump Drive having to transfer files in little bits
or External HDD.
 
Old 02-24-2010, 09:36 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
You could copy the files to a samba share on one of the Linux hosts. Then copy them to the other linux machines using a script, which does the same for each machine, or use rsync or scp.

Also look in the info manual for tar for copying a large number of files (such as the contents of a drive) by piping the output of tar to a mounted directory or using ssh to run tar on the destination to extract them where you want.

tar -C /source/dir tar -cf - . | ssh user@host 'tar -C /destination/dir -xvf - .

This works best using public key encryption, and then using ssh-agent & ssh-add to unlock the private key on the ssh client before running the command.

Last edited by jschiwal; 02-24-2010 at 09:41 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sharing of disk space using NFS akhtar.bhat Linux - Networking 1 01-31-2008 12:07 AM
window xp sharing folder on a network blackzone General 1 09-10-2006 07:34 PM
Sharing Hard disk partition with windows ServalSoft Linux - Security 3 03-18-2006 05:51 PM
sharing disk partitions between 2 computers tcma Linux - Networking 1 01-06-2005 11:58 AM
Internet sharing redhat and window server 2003 amer_58 Linux - Networking 18 03-29-2004 04:20 AM


All times are GMT -5. The time now is 10:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration