Questions tagged [arguments]
The arguments tag has no usage guidance.
50
questions
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 ...
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 ...
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.
...
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 ...
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?
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 ...
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 $@
...
6
votes
1
answer
539
views
Why does the ls command require a dash before its parameters but for tar command, the dash is optional?
I am new to Ubuntu and I am trying hard to understand the command line.
When I want to see the contents of a tar file I use:
tar tf tarfile.tar
But when I want to see a listing of all file if I ...
3
votes
1
answer
3k
views
how to put my arguments into a Bash alias command?
i usually have the following simple alias in my bashrc:
alias g="grep --color=always --exclude-dir=\*.svn\*"
but now i have to work on systems that only have GNU grep 2.5, hence no --exclude-dir ...
3
votes
1
answer
9k
views
Command line 7Zip to extract file by specified result path
Is it possible to make 7Zip extract one file by name from archive to specified full path (including new filename)?
I've found only:
7zip e <archive> -o<resultDirectory> <filemask>
...
3
votes
1
answer
2k
views
Command line 7Zip to create archive without extension
If I specify full extensionless result path 7zip adds one corresponding to the type of created archive.
How can I make it name the result file exactly as I have specified in command line argument?
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...
2
votes
1
answer
285
views
Why is Excel showing 'c' as the arg separator for fomulas?
In Excel 2007, I have a cell with
"=if(true,1,0)"
as the contents. If I hit the ENTER key
I get an error dialog which says, "The formula you typed contains an error."
The flyover help for ...
2
votes
2
answers
11k
views
List of arguments for scheduled task
When you edit the action of a Scheduled Task, there's the option of "Add arguments".
The software I use right now has the argument
-cp .\Acquisition.Jar et.EPC
I've been googling for a while and ...
2
votes
2
answers
179
views
Use default options when compiling ports
I am compiling a few ports on FreeBSD, however during the compiling process I am often greeted with options for the dependencies of the port. This causes the compiling process to pause until I select (...