Help with Terminal Commands

Joined
May 6, 2011
Messages
4
Reaction score
0
Points
1
Hi all,

I'm trying to execute what should be a pretty easy command, but getting an invalid path error.

I need to execute an app by passing it parameters, but it can't seem to find it.

App name is jtvlc.app which is located in Mac HD/Contents/MacOS

The example Terminal command on the wiki is the following:

jtvlc.app/Contents/MacOS/jtvlc bob3 live_gk423_cka141 file:///Users/Bob/Desktop/vlc.sdp -d

Inputting that command with the appropriate parameters always returns the following message:

-bash: jtvlc.app/Contents/MacOS/jtvlc: No such file or directory


Can someone explain what I'm doing wrong in terms of specifying the location?

Thanks!

--CJG
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
where did you install jtvlc?
 
Joined
Dec 11, 2010
Messages
1,808
Reaction score
40
Points
48
Location
Chicago
Your Mac's Specs
late 2012 mini w/SSD
It looks like (to me) you are trying to execute an executable from within a standard Mac application bundle "jtvlc.app"

The normal location of that would be /Applications/jtvlc.app/Contents/MacOS/jtvlc

Does that help?
 
OP
C
Joined
May 6, 2011
Messages
4
Reaction score
0
Points
1
I got it. It was a matter of navigating via CD to the appropriate directory and adding ./ to the command. IT WORKS!!!! Thanks anyway!!!!
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top