# HG changeset patch # User Luke Hoersten # Date 1598809835 18000 # Node ID 1751be33651f8784844c0ac10da7d3839f9d3820 # Parent 5fcc9627e7d3c5a579b86bdeff40f64088dd0615 Added cleanup to mercurial backup script. diff -r 5fcc9627e7d3 -r 1751be33651f mercurial/aws-s3-backup/files/mercurial-s3-backup.sh --- a/mercurial/aws-s3-backup/files/mercurial-s3-backup.sh Sun Aug 30 12:36:30 2020 -0500 +++ b/mercurial/aws-s3-backup/files/mercurial-s3-backup.sh Sun Aug 30 12:50:35 2020 -0500 @@ -8,3 +8,5 @@ tar -zc -f $BACKUP_TAR $BACKUP_DIR aws s3 mb "s3://$BUCKET/" aws s3 cp $BACKUP_TAR "s3://$BUCKET/" + +rm $BACKUP_TAR