Added cleanup to mercurial backup script.
authorLuke Hoersten <luke@hoersten.org>
Sun, 30 Aug 2020 12:50:35 -0500
changeset 136 1751be33651f
parent 135 5fcc9627e7d3
child 137 645c1e109921
Added cleanup to mercurial backup script.
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