Results 1 to 5 of 5
Im not really sure where to post this so I will try here.
I have a large file on my linux network (larger than 10 gigs) and I want to ...
- 11-09-2006 #1Just Joined!
- Join Date
- Aug 2005
- Posts
- 20
opy a file to more than one computer on linux
Im not really sure where to post this so I will try here.
I have a large file on my linux network (larger than 10 gigs) and I want to copy it to multiple computers (more than 10). Now the computers are set up so they can ssh into each other without passwords so I was thinking I could write a script to scp it to each computer, but that would take a long time. Is there any way that i could do a broadcast scp so that I could copy this file to all the computers at the same time, or any other way to copy the file quickly to all the computers a the same time instead of each one individually.
Thanks
- 11-10-2006 #2
I cant think of a way to do this easily. You could try rsync, if the file changes by small amounts, but is generally the same, that can send just the diffs.
It also sounds like a job suited to peer-to-peer file sharing types of software, once the file is copied to another machine, you have two copies to copy from, etc.Linux user #126863 - see http://linuxcounter.net/
- 11-10-2006 #3Just Joined!
- Join Date
- Aug 2005
- Posts
- 20
Ya but the problem is that well the computers arnt on the internet
Originally Posted by Roxoff
- 11-10-2006 #4
rsync works over IP - they must be connected by a network of some kind, whether its the internet or a private lan.
I didn't say peer-to-peer would be easy, but it just sounds to me like the kind of solution that would help. I dont know how to set such a system up, but it might justify looking into.Linux user #126863 - see http://linuxcounter.net/
- 11-10-2006 #5Just Joined!
- Join Date
- Aug 2005
- Posts
- 20
they are all on a local lan. but will I really get better speeds with rsync than a wget (as I understand rsync is for updating but since there is no database on the computers to start there is nothing to update?)
Originally Posted by Roxoff
I am looking into p2p and trying to get a benchmark with my computer that is connected to the Internet


Reply With Quote