Main Menu

gzip and tar

Started by Alan Clifford, December 31, 2012, 07:59:46 PM

Previous topic - Next topic

Alan Clifford

Happy new year Phil and everyone else here.

Whilst I'm waiting for the 1.61 GBytes! of Xcode to download on my new macbook, I thought I'd mention

gzip -dc Image-ExifTool-#.##.tar.gz | tar -xf -

from your install instructions.

Couldn't you specify a less, I suppose arcane is the word I'm looking for,

tar -xzf Image-ExifTool-#.##.tar.gz

or isn't that as univeral as the gzip to tar pipe?

Alan

Phil Harvey

Hi Alan,

Thanks for the suggestion.

I would really enjoy being able to use "tar -z" in the instructions, but I didn't do this purposefully because the -z option isn't available on some of the Sun systems that I use, while the gzip to tar pipe does work.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).