All Questions
4
questions
0
votes
0
answers
152
views
macOS - run bash script when specific URL is clicked
Is it possible to write an AppleScript or macOS service/daemon to detect when a URL is clicked (which would launch the browser) and run a bash script as well/instead? Use case: detect when github.com ...
11
votes
1
answer
2k
views
How to disable the "locate" command in Mac OS?
According to this article, I can use this command:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
To enable "locate" command to find files. However, recently I find this ...
2
votes
0
answers
58
views
How should daemons tell users about errors?
I wrote a bash script that backs up certain files on my computer. To automate the running of the script, I set up an associated daemon that runs the script every day.
There are certain instances ...
5
votes
3
answers
17k
views
Enable SMB sharing from command line
On OS X 10.8, using terminal commands, I'd like to enable SMB sharing as if I had ticked the following checkbox under System Preferences - Sharing - File Sharing - Options:
I've tried the following ...