diff options
| author | ruki <[email protected]> | 2023-01-30 22:35:46 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-01-30 22:35:46 +0800 |
| commit | 4ea0fc8c73da4d1ca702a87854307f9cf312ba59 (patch) | |
| tree | 7d8a5d616498e50d6fb0bd0cc1b72ca3c137162a /scripts | |
| parent | 0df5e4c0c890bec8b45068726fbda898069b166d (diff) | |
improve tar.gz
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/archive-all | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/archive-all b/scripts/archive-all index 27c124e9a..ee19b1bd9 100755 --- a/scripts/archive-all +++ b/scripts/archive-all @@ -49,7 +49,8 @@ if [ -f "$outputfile.tar.gz" ]; then fi zip -qr "$outputfile.zip" . 7z a "$outputfile.7z" . -tar -czf "$outputfile.tar.gz" * +#tar -czf "$outputfile.tar.gz" * +tar -cvf - * | gzip -9 - > "$outputfile.tar.gz" shasum -a 256 "$outputfile.zip" shasum -a 256 "$outputfile.7z" shasum -a 256 "$outputfile.tar.gz" |
