diff --git a/rc_shared.sh b/rc_shared.sh index 845a260..ab303bb 100644 --- a/rc_shared.sh +++ b/rc_shared.sh @@ -74,12 +74,14 @@ export -f clone # Enhance Bin Scripts function send-masters { + echo -e "`date` - Looping through MASTER directories.\n" ls | grep MASTER | while read dir; do - echo "Preparing to sync '$dir' to '$SERVER_NAME'." + echo -e "`date` - Found '$dir'..." cd $dir send-master cd .. done + echo -e "\n`date` - Done checking for MASTER directories." } export -f send-masters