From 5390495d65426684772c405976181a0184c63d24 Mon Sep 17 00:00:00 2001 From: Arunvel Sriram Date: Tue, 7 May 2019 12:34:44 +0530 Subject: [PATCH] Add archive script --- scripts/archive | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 scripts/archive diff --git a/scripts/archive b/scripts/archive new file mode 100755 index 0000000..6e56dd6 --- /dev/null +++ b/scripts/archive @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -e + +dir=${1:-$HOME/save-my-ears} + +tar -cvzf $dir.tar.gz -C $dir/Products . +