##############
-# drag in the default version of this file. this may not be needed if your
-# .bashrc script already has substantial code or already does this.
-source /etc/bash.bashrc
+if [ -f /etc/bash.bashrc ]; then
+ # drag in the default version of this file. this may not be needed if your
+ # .bashrc script already has substantial code or already does this.
+ source /etc/bash.bashrc
+fi
##############
##############
-# drag in the default version of this file. this may not be needed if your
-# .bashrc script already has substantial code or already does this.
-source /etc/bash.bashrc
+if [ -f /etc/bash.bashrc ]; then
+ # drag in the default version of this file. this may not be needed if your
+ # .bashrc script already has substantial code or already does this.
+ source /etc/bash.bashrc
+fi
##############
echo
for currdir in basement imaginations musix toaster walrus; do
- if [ -d /z/$currdir ]; then
+ if [ -d "/z/$currdir" ]; then
sep
echo "synching $currdir folder from $synch_host..."
rsync -avz "$synch_host":/z/$currdir/* /z/$currdir/
+ continue_on_error synching with $currdir from remote host.
fi
done