From 3d10fafdfc888b43d91aebf45cb6022f4f3c3203 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 6 Jul 2015 11:46:36 -0700 Subject: configuration files --- bin/tgz | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 bin/tgz (limited to 'bin/tgz') diff --git a/bin/tgz b/bin/tgz new file mode 100755 index 0000000..7b8d05e --- /dev/null +++ b/bin/tgz @@ -0,0 +1,12 @@ +#!/bin/sh + +name=$1 + +shift + +if [[ -z "${name}" ]]; then + echo "usage: $0 [name] [files]" + exit 1 +fi + +tar czfv "${name}.tgz" "$@" -- cgit 1.4.1