Ability to reveal file/folder by passing commandline arguments

Any wishes
User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Ability to reveal file/folder by passing commandline arguments

Post by mike » Sun Nov 29, 2015 1:38 pm

darek wrote:Mike, are you sure that command is ok? With "APP_BUNDLE_ID" and such? It kind of looks like a template...
Darek, indeed that's a template :)
id's are like com.apple.safari, com.apple.dt.xcode etc
They are specified inside Info.plist in every app.

User avatar
darek
Posts: 179
Joined: Thu Jul 16, 2015 4:50 pm
Location: Warsaw, Poland
Contact:

Re: Ability to reveal file/folder by passing commandline arguments

Post by darek » Sun Nov 29, 2015 8:36 pm

Hmmh... so I did this thing:

Code: Select all

defaults write -g NSFileViewer -string info.filesmanager.files
And it seems to work in the three programs I've tried (Lightroom, SourceTree and Transmission). So far so good :)

Locked