update July 17, 2018
NAME

bl_compress.sh - Compress selected files in the current directory.

SYNOPSIS
bl_compress.sh  filelist extension

DESCRIPTION
filelist - This is a list of filenames, one name per line.

extension - File extension, indicating the compression method to use.

All files in filelist are compressed. The compression program is chosen based on extension.



The following file formats are currently supported:
Compressed file format
File extension
program
GNU Zip
gz
pigz
Zip
zip
zip
bzip2
bz2
bzip2
7z
7z
p7zip

Exceptions:

1. Files that already have the file extension are skipped.
2. Nothing is done if a file extension is found that is not in the table above.

REFERENCES
https://en.wikipedia.org/wiki/List_of_archive_formats

AUTHOR
Dr. Brian Fristensky
Department of Plant Science
University of Manitoba
Winnipeg, MB  Canada R3T 2N2
brian.fristensky@umanitoba.ca
http://home.cc.umanitoba.ca/~frist