#!/bin/bash
# -*- sh -*-

DATESTAMP=$(date +"%Y%m%d-%H%M%S")
STUMP=$1

printf "STUMP=%s\n" $STUMP

if [[ -d ~/bak ]]; then
    echo "folder ~/bak exists";
    cp -fupv $STUMP*.tar.gz ~/bak
else
    echo "folder ~/bak does not exist";
fi

if [[ -d ~/hairy-lemon/output/davinpearson-com/binaries ]]; then
    echo "folder ~/hairy-lemon/output/davinpearson-com/binaries exists";
    cp -fupv $STUMP*.tar.gz ~/hairy-lemon/output/davinpearson-com/binaries
else
    echo "folder ~/hairy-lemon/output/davinpearson-com/binaries does not exist";
fi

rm -fv $STUMP*.tar.gz


