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
38 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 ...