Compare commits

..

No commits in common. "77d6ef37083906f428faf47500c7f906cc4e2956" and "d3d0a4cc5d897773f08508cdb9d3c10d5b617df6" have entirely different histories.

2 changed files with 4 additions and 7 deletions

View File

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

View File

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