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.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. Shell Programming and Scripting
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
3. Shell Programming and Scripting
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
4. Shell Programming and Scripting
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
5. Shell Programming and Scripting
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
6. Shell Programming and Scripting
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
7. Shell Programming and Scripting
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
8. Shell Programming and Scripting
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