#!/bin/sh

########################################################
# Calls rsync with a set of built-in options optimized 
#   for transfer within a single host.  Options are not
#   included here...see rsync.sh for that.
#
# Version 3
########################################################

SCRIPT_NAME="./rsync_local.sh"
TARGET_SCRIPT="./rsync.sh"

# check that we have at least two parameters
if [ $# -gt 1 ]; then
        
        $TARGET_SCRIPT local "$@"
        exit $?
        
# no args
else
        echo "Usage: $SCRIPT_NAME [additional rsync options] source dest"
        echo "$TARGET_SCRIPT must be present and executable!"
        exit -1
fi
