A simple shell script to compress all files into bz2 files recursively in the specified path.
Uses bz2 to compress all files recursively through path specified.
Initially made for servers that server bz2 packages to clients, such as fast download for games like CS:GO.
Usage: ./compressor.sh [options] [path]
-h | Print this message.
-k | Keep the original files after compression.
-r | Remove the original files after compression.
-o | Overwrite existing output files.
Example: ./compressor.sh -ko /var/www/fastdl
Icon made by Freepik