What is the best option to send files from a HUB to remotes?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting What is the best option to send files from a HUB to remotes?
# 1  
Old 07-08-2010
Question What is the best option to send files from a HUB to remotes?

Hi there,

Initially i was using scp command in my script to copy files from a MASTER SERVER to several remotes (about 200) but was told to look into rsync. Is the rsync option feasible in my case? Please advice.

I am not familiar in using rsync.

Ubuntu 9.10

Thanks
# 2  
Old 07-08-2010
For a single file, the idea of just using scp to loop through the copies is a good answer. Rsync is probably NOT the answer.

If the file is very (VERY) large and only small bits change (and the copy is done repeatedly), then you MIGHT do better in some cases with rsync.

There are probably some multicast or broadcast style systems out there that might be useful if the number of hosts is really big... but IMHO, if the performance is reasonable for your 200 copies... I'd stick with it.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

List only hidden files, not use . option

Hi I have a prompt like this: PS1='\\u@\h \\w $(es=$?; ] && echo "\" || echo "\")\$\' It works like it should, but have a bug. Problem is the counting of hidden files $(($(ls -ad .* | wc -l)-2)) echo $(($(ls -ad .* | wc -l)-2)) The . seems to create the problem when I cut and past to... (3 Replies)
Discussion started by: Jotne
3 Replies

2. Shell Programming and Scripting

Executing a batch of files within a shell script with option to refire the individual files in batch

Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below. I am on a solaris server btw. Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose. ... (2 Replies)
Discussion started by: goddevil
2 Replies

3. Shell Programming and Scripting

Does rsync has option to backup only new updates files on different dir

Hi I would like to ask if rsync has an option of backing up the new or updated files on different destination dir( only the new or updated files will be copied to the a different dir) just like option --backup-dir but this is for backup files. Thanks for any response. (1 Reply)
Discussion started by: jao_madn
1 Replies

4. Shell Programming and Scripting

recently introduced to the newer option for find...does an older option exist?

To find all the files in your home directory that have been edited in some way since the last tar file, use this command: find . -newer backup.tar.gz Is anyone familiar with an older solution? looking to identify files older then 15mins across several directories. thanks, manny (2 Replies)
Discussion started by: mr_manny
2 Replies

5. Shell Programming and Scripting

option followed by : taking next option if argument missing with getopts

Hi all, I am parsing command line options using getopts. The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument. Below is the script: while getopts :hd:t:s:l:p:f: opt do case "$opt" in -h|-\?)... (2 Replies)
Discussion started by: gurukottur
2 Replies

6. Shell Programming and Scripting

finding files using prune option

Hi All, I am trying to find files in a directory and don't want to search in the sub directories and using the command find . \( ! -name . -prune \) -mtime +1 -name '*.log' and is working fine. But when I am trying with absolute path then is not working like find /home/subodh \( ! -name... (1 Reply)
Discussion started by: subodh.sharma
1 Replies

7. Shell Programming and Scripting

Copy Files then with option of remove

hi, i encounter a quite a new things for me. lets sat my test.txt modified date is 6th of July 2005. then i execute the following command: "cp test.txt testfolder/test.txt" when i go to execute "ls -l" command... the test.txt modified date become today date! but if i execute: ... (5 Replies)
Discussion started by: maldini
5 Replies

8. UNIX for Dummies Questions & Answers

Full duplex at HUB?

Ok at the moment I have a hub whit 5 computers connected to it. It's a 10/100 NetGear hub. Ok I heard that there is some command I can run or a file I edit or something like that. But what the command/file/script/whatever does is tells you what connect speed it's connecting to the hub to. ... (4 Replies)
Discussion started by: merlin
4 Replies
Login or Register to Ask a Question