+    scottyinfo Syncing $1 to $REMOTE_HOST:$REMOTE_BASE/$2 @$timestamp
+
+    if [ ! -d "$1" ]; then
+       scottyerror Source dir $1 does not exist. Not syncing!
+       return 1
+    fi
+
+    if [ $(ls -A "$1" | wc -l) -eq 0 ]; then
+       scottyerror Source dir $1 is empty. Not syncing!
+       return 1
+    fi