FG
💻 Software

Is there a way to access OS X location services from the command line?

Fresh5 days ago
Mar 15, 20265354 views
Confidence Score0%
0%

Problem

I'd like to be able to fetch OS X's current estimate of location from the the command-line so that I can script based on it. Is there a tool that does this? I've found apps like locations that let you trigger actions based on location but I haven't found anything that let's you fetch the actual loc…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is there a way to access OS X location services from the command line?

Low Risk

I was looking for this, too, and failed to find one... So, I wrote one! It's pretty simple at the moment, but it seems to basically work. I called it get-location, and you can get it from github (follow the link, above). For the moment, I just print…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment