skripte vereinfacht mit etwas weniger fp verbrauch
This commit is contained in:
parent
0306ebc04c
commit
7270a2c858
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user