SquirrelJME/SquirrelJME

View on GitHub
utils-dev/realmv.sh

Summary

Maintainability
Test Coverage
#!/bin/sh
# ---------------------------------------------------------------------------
# Multi-Phasic Applications: SquirrelJME
#     Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
#     Copyright (C) Multi-Phasic Applications <multiphasicapps.net>
# ---------------------------------------------------------------------------
# SquirrelJME is under the GNU General Public License v3, or later.
# For more information see license.txt.
# ---------------------------------------------------------------------------
# DESCRIPTION: Performs a complex fossil move.

# Force C locale
export LC_ALL=C

# Directory of this script
__exedir="$(dirname -- "$0")"

# Only two args
if [ "$#" -ne "2" ]
then
    echo "Usage: $0 (src) (dest)" 1>&2
    exit 1
fi

# Forward to other move script
"$__exedir/fmv.sh" "$1" "$2"
exit $?