From f786b04efba51cb1f041d7556c88ae50e59ccdae Mon Sep 17 00:00:00 2001 From: foo Date: Fri, 7 Nov 2014 19:25:31 +0000 Subject: [PATCH] backup --- backup.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 backup.sh diff --git a/backup.sh b/backup.sh new file mode 100755 index 0000000..946e40e --- /dev/null +++ b/backup.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +cd $(dirname $0) || exit 1 +cp data.tsv data-$(date '+%F').tsv && xz data-$(date '+%F').tsv