Hacker News new | ask | show | jobs
by euroderf 479 days ago
A few years ago I found+installed a small, simple Service to run "touch" on a file, but it broke a few OS upgrades ago. Anyone got a replacement ?
1 comments

Once there was a nice app called ThisService which could convert shell scripts into services, but it is not developed anymore.

The modern equivalent is "Run Shell Script" in Shortcuts or maybe Automator. Shortcuts has the advantage that you can use your shortcut directly in Quick Actions in Finder's context menu.

I played around a minute and created this but I'm not a Shortcuts expert.

https://www.icloud.com/shortcuts/5898ff4c3f2e49ff8ec6bff4013...

One insane caveat: For this to work you'll need to grant Finder Full Disc Access in System Settings → Security. Yes, it sounds insane. It is. But it works.

Guess what! In the security dialog, when I get a file picker to pick the app, Finder is not in the list !