summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-04-15 15:00:16 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-04-15 15:00:16 +0200
commitfd59bb1d5ee46d5275826376112c7371ecf49d3d (patch)
tree547d17f0e2faefea63b9959e66b55b1950385c92
parent93ccf5b4366705bf3ff776afafa0193e8f03ebdd (diff)
downloadbin-fd59bb1d5ee46d5275826376112c7371ecf49d3d.tar.gz
bin-fd59bb1d5ee46d5275826376112c7371ecf49d3d.tar.xz
Add tar wrapper for simple backups
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xtar-backup3
1 files changed, 3 insertions, 0 deletions
diff --git a/tar-backup b/tar-backup
new file mode 100755
index 0000000..06e98a1
--- /dev/null
+++ b/tar-backup
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+exec tar --sparse --numeric-owner --preserve-permissions --auto-compress "$@"