Lacer
Lacer

Reputation: 5958

macOS automator - run shell script not working

So I have a shell script that outputs a format of 2021-01-15 02:20:33. It works in command line and AppleScript but doesn't work in automator. Not sure how to troubleshoot it i've done a few searches but nothing comes up that addresses this issue of a shell script not outputting value in automator.

works in:

enter image description here

doesn't work in automator

any help would be appreciated

Upvotes: 2

Views: 2751

Answers (1)

Lacer
Lacer

Reputation: 5958

The issue was automator didn't have full disk access permissions in privacy. After that was enabled the script worked as intended.

Upvotes: 3

Related Questions