diff options
| author | aura <nw@moneybot.cc> | 2026-06-26 14:00:16 +0200 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-06-26 14:00:16 +0200 |
| commit | 13cd5f17559e07d631edc08ec939c0f917ffa8fe (patch) | |
| tree | bdf430f93bd2a516476b595d92998be71cda0ec0 /bin/mktarxz | |
| parent | 8923e52ba33b0fe62409c81628d9de216150773f (diff) | |
Diffstat (limited to 'bin/mktarxz')
| -rw-r--r-- | bin/mktarxz | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/mktarxz b/bin/mktarxz new file mode 100644 index 0000000..5e6e912 --- /dev/null +++ b/bin/mktarxz @@ -0,0 +1,9 @@ +#!/bin/sh + +FPATH=$1 +if [ -z "$FPATH" ]; then + echo "Usage: $0 <file>" + exit 1 +fi + +exec tar cf - $FPATH | xz -9 -0 --memlimit-compress=48GiB |
