Or simply “tar -czvf output.gz *.jpg”, to replace the gzip example below.

 

 

Why not use tar.

tar -czvf images.tar.gz image1 image2 image3

On Mon, May 14, 2012 at 11:32 AM, <joe> wrote:


Is there a way to gzip multiple image files into a single .gz file?

I found this example online, but it did not work for me.

gzip -c *.jpg > output.gz