blob: 2de25828043a1dffb4d2500312a296d6234b2c8b (
plain) (
tree)
|
|
##
# systrunk <command> [<options>, ...]
#
# A version control system powered by rsync, focused on tracking large
# directory trees with large files, even binary files; system images.
#
# Main function, decide what to do ...
##
function main
{
if [ $# -eq 0 ]; then
echo "Error: no command given"
exit
fi
if [[ "$1" == "checkout" ]]; then
systr_checkout $@
elif [[ "$1" == "status" ]]; then
systr_status $@
else
echo "Error: $1 not recognized"
fi
}
main $@
|