You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rafał Karoń edited this page Aug 31, 2024
·
2 revisions
You can only run executable macOS scripts.
Before you begin
If needed, download a macOS script to run.
Procedure
Open Terminal by doing the following:
Press Cmd and Space.
Enter terminal.app
Press Enter.
At the prompt, enter chmod 755 *<script_filepath>*.
Where:<script_filepath> is the path to the script that you want to make executable. Tip: You can drop a file into Terminal to quickly enter its file path. Example:chmod 755 /users/*<your_user_name>*/Downloads/<script>
Next steps
To run the script, double-click the script that you made executable.
If the script still does not run, at the prompt, enter xattr -rc <script_filepath>.
Where:<script_filepath> is the path to the script to make executable. Example:chmod 755 /users/*<your_user_name>*/Downloads/<script>