Hi,
I had this doubt.
I have a script, say abc.sh, which does remote copying of files through rcp, after validating the destination machine, user and directory. It also does a checksum validation to verify if the file is being copied correctly.
Is it possible to call this script abc.sh in another script xyz.sh in a loop?
In xyz.sh, I get the list of files to be copied from a text file using
exec < /tmp/list.txt
while read lines
do
done
Can abc.sh be called within the above loop?