Questions tagged [command-line-tool]

A command line tool is a console based application either run in MS-DOS or a terminal (Command prompt for windows, and terminal for linux and mac)

339 questions
3
votes
2 answers

Program closing before it's really finished

I have a program with two modes: GUI & Just Run. GUI loads a WPF form and lets me adjust settings, while Just Run loads said settings and just... well... runs. It's a glorified, customizable tool to batch-move files. The problem: The "log" doesn't…
WernerCD
  • 2,137
  • 6
  • 31
  • 51
3
votes
1 answer

Invalid `Podfile` file: unterminated string meets end of file

I am trying to install pod file but getting following error : Faizs-MacBook-Pro:newj faizfareed$ pod install [!] Invalid `Podfile` file: unterminated string meets end of file. # from /Users/faizfareed/Desktop/NewJson/NewJ/Podfile:4 # …
Faiz Fareed
  • 1,498
  • 1
  • 14
  • 31
3
votes
2 answers

How to move a file in to zip uncompressed, with zip cmd tool

I'm try to determine how to use the zip cmd line tool to move a file (uncompressed) in to a zip of compressed files (ie I want a zip in the end with all files but one compressed, b/c the one file is another compressed file). Anyone know how to do…
erikvold
  • 15,988
  • 11
  • 54
  • 98
3
votes
2 answers

Java Command-Line App with own prompt

I'm writing a JAVA-Console-Application. After the user started the jar he should get a Commandline like the Linux shell, where he can enter commands. This is something I never programmed before. Normaly im writing GUI's or I start the jar with some…
Daniel
  • 1,027
  • 1
  • 8
  • 23
3
votes
2 answers

Is it possible to clone existing cloud code already deployed on server side, through the Parse command line tool?

How can I clone an existing Parse Cloud Project files to my computer with the command line tool? I tried parse new and selected a project but it created a folder with new files, not the files that I already had in the Parse Cloud. Note: I did not…
3
votes
2 answers

why do i have 2 versions of gcc and g++ in Mac OS X?

I just had a fresh re-installation of Mac OS X Yosemite before I install Xcode and then CommandlineTools. It seems I have two versions of gcc and g++ in the following two directories: /usr/bin (both files are 14kb)…
oat
  • 384
  • 1
  • 6
  • 15
3
votes
1 answer

Golang flag library: Unable to override Usage function that prints out command line usage

I am working on a simple command line tool and I found the default Usage message a bit lacking. I want to define my own and I think I am doing it right I am referring to this example. I commented out most of the code I had written so the file…
Stratus3D
  • 4,648
  • 4
  • 35
  • 67
3
votes
3 answers

Difference between command line tool compiling and IDE compiling Java

im new to java, ROOKIE... i was doing arraylist example and i compiled it on IDE it worked perfectly, i did that example on CMD it gave me an error Note: Practice.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for…
ramb0
  • 127
  • 1
  • 11
3
votes
0 answers

strings command in command line tool is not responding

on Mac machine, I am looking for a specific string in any non-text using coreservicesd command tool. If I am searching for the word delegate for example (which I know the word is there), I type: $ strings /my/path/to/my/file.cs | grep Delegate The…
user1019042
  • 2,428
  • 9
  • 43
  • 85
3
votes
2 answers

How can I shift all window numbers down by the appropriate number to “collapse” the window numbers?

I am (manually) moving this question to SO from superuser because I observed there is a tmux tag here, and I believe it is a sufficiently unusual question that the power users of tmux on SO might better be able to address it. Suppose I have 5…
merlin2011
  • 71,677
  • 44
  • 195
  • 329
3
votes
1 answer

Changing Mac System Proxy Settings In Command Line Tool Application

Is it possible to change proxy settings ( like what networksetup does ) in a command line tool app ? I mean I want to write a command line tool that can change network and proxy settings in mac. If yes, Can anybody provide any source that I can go…
Sepehrom
  • 1,335
  • 2
  • 16
  • 33
3
votes
2 answers

perl Getopt::Long::GetOptions usage

I wanted to use Getopt::Long::GetOptions for getting command line options to the script. I have a requirement like this: perl script.pl -c -c -m argument Here we have option flags -c and -mm which are optional, and argument…
Arpit
  • 4,259
  • 10
  • 38
  • 43
3
votes
1 answer

The best design for a command-line tool

It's a simple task, let me briefly describe it! I'm supposed to code a command-line tool that takes a file-name as an argument, the file that I'm gonna read consists of lines, each line supposed to be a command to execute, the command is followed by…
Ahmed Jolani
  • 2,872
  • 2
  • 20
  • 24
3
votes
1 answer

how to edit file in a separated screen window in vifm version > 0.4

I just installed vifm-0.7.4. It included much more functions than version 0.4. However, I am missing one behavior in the old version. That is, if you enable screen in vifm: :screen once you press l or Enter on a text file, the file will be open in…
Jing
  • 283
  • 1
  • 8
3
votes
3 answers

How to check if another instance of the app/binary is already running

I'm writing a command line application in Mac using Objective-c At the start of the application, i want to check if another instance of the same application is already running. If it is, then i should be either wait for it to finish or exit the…