-sep
-
-echo synching walrus...
-rsync -av /z/walrus/* /media/fred/soapboxdrive/walrus/
-if [ $? -ne 0 ]; then
- echo The walrus sync failed.
- exit 1
-fi
-
-sep
-
-echo synching musix...
-rsync -av /z/musix/* /media/fred/soapboxdrive/musix/
-if [ $? -ne 0 ]; then
- echo The musix sync failed.
- exit 1
-fi
+for currdir in basement imaginations musix walrus; do
+ sep
+ echo "synching $currdir..."
+ netcp /z/$currdir/* /media/fred/soapboxdrive/$currdir/
+ if [ $? -ne 0 ]; then
+ echo "The $currdir sync failed."
+ exit 1
+ fi
+done