3

How do I create a .tgz from Finder using Archive Utility? That is, I'd like to right-click on a directory and tar and zip it.

Yes I know how to work with tar from the shell:

tar zcvf ../foo.tgz .         # create
tar zxvf foo.tgz -C /bar/qux  # extract

But sometimes it would be more convenient to create .tgz's from the Finder.

I've Googled, but my Google-fu is failing.

Sonia Hamilton
  • 139
  • 2
  • 6
  • Is Archive Utility a must? – nohillside Feb 02 '16 at 22:26
  • 2
    It is my understanding that Archive Utility uses ditto and it cannot create a .tgz file. I'd create an Automator Service with a Run Shell Script Action and then use it to create the .tgz file from Finder. – user3439894 Feb 02 '16 at 22:28
  • No, it's not possible. You can use a 3rd part software, instead. – fusion3k Feb 02 '16 at 23:39
  • Gzip is easy to use from the command-line, which is definitely one of the reasons it's so popular in the Unix world. Just use the best tool for the job! The finder can only create ".zip" files. Anything else, and you're heading to the command line (or some third party app, but the command line is a lot quicker if you know what you're doing). – William T Froggard Feb 03 '16 at 00:38
  • https://apple.stackexchange.com/questions/393270/im-trying-to-make-a-service-to-archive-a-folder-using-tgz-i-cant-get-this-to – anki Jun 08 '20 at 06:41

0 Answers0