Tagged Questions

open is a command line utility on OSX an Linux that opens a file just like through Finder

learn more… | top users | synonyms

0
votes
1answer
33 views

Pass absolute file path to --args option of open command OSX

I have a script /usr/local/bin/foo that opens an app with command line arguments: #!/bin/bash open -a Foo.app --args $@ The problem is, when I run foo bar.txt the result is Foo.app opens and ...
0
votes
2answers
54 views

Is there a way to disable resolving symlinks for OSX 'open' utility?

Suppose I have file called a.txt and another file b.txt which is a symlink pointing to a.txt. I also have my own developed application which is set as a default application for .txt files. Now when I ...