The HPC team is updating this page. Check back for new information.
...
Compressing files types that are ≥0.80 should be avoided unless it’s part of a directory.
Category | Type | Extension | Avg Ratio (compressed size/original size) | |||||
---|---|---|---|---|---|---|---|---|
Programs | binary | <null>/.bin/.exe | 0.25-1+ | |||||
java binary | .jar | 0.75-0.90 | docx | .docx | ||||
compressed files | .gzip/.zip/.bz2 | >1 | ||||||
Text related files | fonts | .ttf | 0.46-0.71 | |||||
txt | <null>/.txt | 0. 8032-0. 8555 | ||||||
gif docx | . gifdocx | 0.80-0. 9585 | ||||||
compressed source files | . gzipc/.cpp/. ziph/. bz2 | >1 | image files | .jpg java/.js/. jpegpy/. png | 0.93-1+ | data files | .json/.xml html/.css/.hpp/.lua | 0. 3010-0. 6045 |
audio log files | . mp3/.ogg/.mp4log | 0. 8005-0. 9525 | ||||||
0.50-0.95 | ||||||||
svg library files | . svgso | 0. 3025-0. 5745 | ||||||
fonts data files | . ttfjson/.xml | 0. 4630-0. 7160 | ||||||
txt audio files <null> | .mp3/. txt | 0.32-0.55 | wav | .wav | 0.45 ogg/.mp4/.wav | 0.80-0.95* source | ||
Image related files | image files | . cjpg/. cpp/.h/.java/.js/.py/.html/.css/.hpp/.luajpeg/.png | 0. 10-0.45library files93-1+ | |||||
svg | . sosvg | 0. 2530-0. 4557 | ||||||
log files gif | . loggif | 0. 0580-0 .25.95 |
* certain types of .wav files can compress very well
To determine file type:
...
Code Block |
---|
# List directory % ls -l drwxr-xr-x 5 aaa0000 Domain_Users 4096 Jun 22 2018 data1 drwxr-xr-x 5 aaa0000 Domain_Users 4096 Jun 22 2018 data2 drwxr-xr-x 5 aaa0000 Domain_Users 4096 Jun 22 2018 data3 # Make compressed tarballs directly % tar czf data1.tgz data1 % tar czf data2.tgz data2 % tar czf data3.tgz data3 # Make tarballs % tar czf data1.tar data1 % tar czf data2.tar data2 % tar czf data3.tar data3 # Compress tarballs % gzip data1.tar % gzip data2.tar % gzip data3.tar |
It is VERY IMPORTANT that you remove the original copy after taring/compressing the file/directory.
...