fix
This commit is contained in:
parent
79284e1f7a
commit
c7a26d4ecc
1 changed files with 10 additions and 0 deletions
10
compress.sh
10
compress.sh
|
@ -16,10 +16,20 @@ if [ "make" == "$1" ]; then
|
|||
|
||||
tar -cf ${archiv}.tar ${dateien}
|
||||
pixz ${archiv}.tar ${archiv}.tar.pxz
|
||||
|
||||
# säuberung
|
||||
rm ${archiv}.tar
|
||||
elif [ "restore" == "$1" ]; then
|
||||
|
||||
pixz -d ${archiv} ${archiv/.pxz*}
|
||||
|
||||
tar -xf ${archiv/.pxz*}
|
||||
|
||||
# säuberung
|
||||
rm ${archiv/.pxz*}
|
||||
else
|
||||
echo "tar.pxz compress-script"
|
||||
echo "./compress.sh make/restore archivname input/output"
|
||||
echo "./compress.sh make archivname daten"
|
||||
echo "./compress.sh restore archivname"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue