Skip to main content

Questions tagged [arguments]

The tag has no usage guidance.

101 votes
4 answers
183k views

Start Google Chrome on Mac with command line switches

I've read you can start Google Chrome in kiosk mode in Windows by using the argument --kiosk. I know how to do this on Windows, but how can I do this on Mac OS X? And how can I run Google Chrome ...
alex's user avatar
  • 4,362
72 votes
9 answers
122k views

Can I use pipe output as a shell script argument?

Suppose I have a bash shell script called Myscript.sh that need one argument as input. But I want the content of the text file called text.txt to be that argument. I have tried this but it does not ...
Narin's user avatar
  • 823
25 votes
4 answers
27k views

zip: Argument list too long (80.000 files in overall)

I need to compress 80.000 files into multiple zip files. This is the command I use: zip -s 200M photos_test/* However I get the following error: -bash: /usr/bin/zip: Argument list too long What ...
aneuryzm's user avatar
  • 2,135
-1 votes
3 answers
205 views

How to use the command "read" on a Shell script which reads its arguments from stdin

First of all, thank you for your help in advance and sorry in case this was answered before. I have not been able to find it. For helping to understand my question, I have written the following ...
Lucas's user avatar
  • 1
28 votes
9 answers
229k views

How to pass an argument to a Windows Scheduled Task with spaces in it

I need to set up a Windows Scheduled Task. It accepts 1 parameter/argument which is a path and can contain spaces. My Scheduled task does not work - it "breaks" the parameter up at the first space. ...
Rodney's user avatar
  • 431
11 votes
3 answers
105k views

How can I run an application with arguments from Windows Explorer?

Is there an easy way to launch an application from Windows Explorer with arguments? Or do I have to actually run them from the command line?
ajb32x's user avatar
  • 275
7 votes
1 answer
10k views

How to preserve white space in Bash arguments

I use the command: cm1 cm2 arg1 arg2 'argument 3' It first goes to cm1, which will then redirect arg1 arg2 'argument 3' to another file. /usr/bin/cm1: #! /bin/bash # some script here shift cm2 $@ ...
François ッ Vespa ت's user avatar
7 votes
2 answers
4k views

Call but not download a page with wget

I was wondering if there was any argument that allowed me to use wget and "call" a page, but without downloading the page. The problem is that when you call wget on a page, it downloads it to the ...
Andreas Grech's user avatar
3 votes
1 answer
26k views

How to pass multiple arguments?

How to pass multiple paramaters for Start a program action in Windows Task Scheduler for a batch file? There's no built-in syntax hint...
Nae's user avatar
  • 237
1 vote
2 answers
237 views

BBEDIT multi-fil search : how to add "OR" argument in the find window?

Hi trying out latest BBedit on Ventura Apple silicon. Have been wrapping my head around the (im)possibility to search for different strings at once in the find window, in order to have each occurrence ...
istackoverflow's user avatar
1 vote
3 answers
6k views

How to receive a parameter in a batch file

I have asked a question, Use an environment variable to point to an "Open With" program, which received a fantastic answer. To add myapp.exe, residing in %MYAPPSDIR%, to the Open With ...
sancho.s ReinstateMonicaCellio's user avatar