Compare commits

...

2 Commits

Author SHA1 Message Date
77d6ef3708 Merge branch 'master' into debian 2025-04-15 10:15:02 +02:00
fszimnau
7270a2c858 skripte vereinfacht mit etwas weniger fp verbrauch 2025-04-14 16:53:23 +02:00
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