0
votes
0answers
22 views

How to run --args AFTER Google Chrome is already open

How do run --args after Google chrome is already open? open -a Google\ Chrome --args --"profile-directory"="Profile 1" ONLY works when Google chrome is not running and I would like to know how to ...
0
votes
2answers
1k views

How to pass a terminal command as an argument to another command

I want to run this command: ls -arth Test*log | tail -1 ... and pass its output as an argument to: open /Applications/Utilities/Console.app <previous output> I would like to do this all in ...
0
votes
1answer
113 views

How to make exiftool not to change file's date and time

How to make exiftool not to change the date and time of the affected files? I mean not the date and time written in EXIF, I mean the date and time of the file itself.
1
vote
2answers
224 views

MacOS Start FireFox via CommandLine in 32 bit

Firefox can be startet via Commandline How can I run an application with command line arguments in Mac OS Is there an argument to make it start in 32 bit ? I know i could select it via finder, but ...
1
vote
1answer
603 views

stat command in Mac OS X

I'm trying to get a formatted time output using a such command in Mac OS X 10.7.5 (in the Terminal app): stat -f "%m" -t "%Y" "myfilename.jpg" However, it still gives me a unixtime, not the ...
2
votes
2answers
1k views

How to set launch options for programs on OS X [duplicate]

Possible Duplicate: How do I pass command line arguments to Dock items? On a Windows PC, if I need to provide any launch options to an application (say, Chrome browser), I can do that by ...
2
votes
1answer
501 views

How to Retrieve Command Line Arguments

How can I view what command line arguments are passed to a running process on Mac OS X?
1
vote
2answers
790 views

How to pass command line arguments in Mac Application

I have created a Command line tool application ( Xocde --> New App --> Command line tool) and it's running without any problems. Now i want to run it through terminal and pass some command line ...
-1
votes
1answer
256 views

How to pass multiple commandline arguments to a script?

I have a command line script that takes images as arguments. I got it working with one argument but fail to figure out how to pass in multiple.
38
votes
2answers
27k views

How do I pass command line arguments to Dock items?

I'm attempting to follow the instructions for pinning startup tabs in Chrome. On OS X how do I add command line arguments to items that persist in my dock?
2
votes
1answer
3k views

Passing Command Line Args to `open` on Mac

I am using the open command from the Terminal to open an app bundle and would like to pass a command line argument through to the underlying executable. Is this possible with the open command? The ...