Merge branch 'master' into debian

This commit is contained in:
fabianArbeit 2025-04-15 10:15:02 +02:00
commit 77d6ef3708
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
source=${1%/}; # cut off trailing "/"
tar cfv $source.tar $source && xz $source.tar;
source=$1
destinationPart=${1%/}; # cut off trailing "/"
# tar cfv $destinationPart.tar $source && xz $destinationPart.tar;
tar c -I"xz -v" -vf $destinationPart.tar.xz $source

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source=$1;
archive=${source%.xz}; # cut off trailing ".xz"
unxz $source && tar xfv $archive
# archive=${source%.xz}; # cut off trailing ".xz"
# unxz $source && tar xfv $archive
tar x -I"unxz -v" -vf $source