MacOS – I’m trying to make a service to archive a folder using tgz. I can’t get this to work

keyboardmacosservicesshortcut

I'm trying to learn to build services on my iMac running High Sierra. I open system preferences and then I click on Keyboard. From there I click on the Shortcuts tab. I get the window shown below.

enter image description here

From this pane, I click on Services on the left and check the box "Archive as tbz" on the right. I then give the shortcut control-command-a as the keyboard shortcut. I then close System Preferences and go to the folder with the folder I want to archive in it. I select the folder I want to archive then right-click on it. A context-menu comes up with Services at the bottom. I click on Services and see my new service at the bottom. I click on it but nothing happens. What am I doing wrong?

I've tried closing the System Preferences and going to Finder and run my service from there. No luck. After that, I tried running the service by right-clicking on the folder to archive. No luck. I looked up in Google "how to make a service mac" but no luck. Their method didn't work. Now I'm out of options. I also tried using the key shortcut but that didn't work either. I tried doing the same but used zip instead of tbz but zip didn't work either. Can somebody help me make a keyboard shortcut or a service?

Best Answer

The following services are installed by Entropy:

  • Archive as 7z
  • Archive as rar
  • Archive as tbz
  • Archive as tgz
  • Archive as zip

Setting ⇧⌃⌘A on the Archive as tgz service does create a .tgz file in Finder; however, I first had to trigger it from the Services menu in Finder before the keyboard shortcut worked. This is also where I found the Entropy icon on these services.

Note: I had to add to ⌃⌘A because in macOS Catalina ⌃⌘A is: Make Alias

I also did not have these services on a clean built macOS Catalina system until after installing Entropy, without even running it first, these services appeared in: System Preferences > Keyboard > Shortcuts > Services