Hi All,
I have written a c-shell script that incorporates a find routine. The find command is searching a tree for directories and then copying them to a temp holding area for further use later. This is the command
find $jobroot/GRP_$jrnl -type d -name "DIV_$file" -exec cp -r {} $temp/ \;
When I telnet from a terminal to the server (where all the files to search are held) and run the script, it is quite fast. If I run the script from a client not logged into the server the find routine takes an age. Is there any way that I can speed this up? Or am I doomed to the remote search being very slow?
Cheers
Jimbo
I have written a c-shell script that incorporates a find routine. The find command is searching a tree for directories and then copying them to a temp holding area for further use later. This is the command
find $jobroot/GRP_$jrnl -type d -name "DIV_$file" -exec cp -r {} $temp/ \;
When I telnet from a terminal to the server (where all the files to search are held) and run the script, it is quite fast. If I run the script from a client not logged into the server the find routine takes an age. Is there any way that I can speed this up? Or am I doomed to the remote search being very slow?
Cheers
Jimbo