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)
337
questions
0
votes
0
answers
35
views
pyulog library Script 'ulog2csv' is not recognized as an internal or external command, operable program or batch file
The pyulog Library states in its documentation the following:
All scripts are installed as system-wide applications (i.e. they be called on the command line without specifying Python or a system path)...
2
votes
1
answer
32
views
Choice command equivalent for Powershell allowing over 254 characters
Is there a choice command equivalent for Powershell that can allow over the 254 character limit? As the choice command functions, it only allows specified characters. Such as in the example below, ...
-1
votes
1
answer
29
views
Is there any command line tool that can create zip/rar archives of all the sub-directories if given a path to parent directory?
I have a bunch of sub-directories of daily log files generated by my web application. Ideally what I would like to achieve is if given a path to a parent directory (i.e.)~/myapp/logs/july-logs/ the ...
0
votes
0
answers
17
views
How to enable terminal window to show for my command line tool when I run it from an app bundle?
I'm trying to notarize and staple my command line tool. Since mach-o binaries cannot be stapled, I decided to embed it into an app bundle. This works, except that when I run my command line tool by ...
0
votes
0
answers
258
views
Decoding Base64 files in windows
So I have been tasked with automating getting certs for 1000 devices. And have been working though converting a Linux script to windows to match up with other scripts we have for other sections for ...
1
vote
1
answer
18
views
Running diskpart in the same window from where it is called
Calling diskpart.exe opens it in a new legacy terminal windows. I want to run diskpart.exe within the same terminal window where it was called from. How can I do that?
2
votes
1
answer
184
views
Embedded command line tool called via Runtime.exec in a Java sandboxed app on MacOS results in signal 4
Objective
I want to ship my java app myapp to macOS appstore, the app uses a command line tool mytool called with:
Runtime.getRuntime().exec(arrayOf("mytool", "argument")
Tools
...
1
vote
0
answers
192
views
Which technology is internally used for az copy comand?
I wanted to understand the internal mechanism of Azure az copy command line utility that is used for data copy.
There are many blogs out there having the details about how to use AZ copy and different ...
1
vote
0
answers
131
views
Flutter installs SDK Tools again, even though they exists
[ +1 ms] All projects evaluated.
[+1797 ms] Selected primary task 'assembleDebug' from project :
[+15200 ms] Parsing legacy package: C:\commandlinetools-win-9477386_latest\cmdline-tools
[+1099 ms] ...
1
vote
0
answers
424
views
File "/usr/bin/sdkmanager", line 33, in <module> sys.exit(load_entry_point('sdkmanager==0.5.1', 'console_scripts', 'sdkmanager')())
I have installed android-sdk then sdkmanager both using sudo apt install ... command and the result for sdkmanager --version is as following:
25.2.0
But when I try sdkmanager --update I get:
Traceback ...
0
votes
0
answers
33
views
Command line tool to discover text within margin in PDF
I have several different PDFs which I need to make sure have at least 1 cm top and left (white) margin.
I would like a unix command line tool that can discover if text appears within the margin and ...
0
votes
1
answer
102
views
Source file name for output
I am trying to create a batch file using PDFtk to burst combine file in a certain directory to the output folder using the source file name (which can vary) as the input file name. for example
source ...
0
votes
3
answers
389
views
Android studio 2022.1.1 where is SDK and sdkmanager
just installed Android studio 2022.1.1.
Before installation, deleted f:/AppData/local/Android/**
which is very old.
The installer did not install any new SDK?
and command-line tools?
From File > ...
0
votes
1
answer
2k
views
Error : ld: symbol(s) not found for architecture arm64, clang: error: linker command failed with exit code 1 (use -v to see invocation)
Note : I'm on Mac OS X Ventura 13, M1 Mac 2020.
This Problem is arising recently, although code itself is very simple
int main(){
int a, in; cin>>in;
for(a=in;a!=0;a=a/10){
cout&...
0
votes
0
answers
24
views
How to safely finish xCode command line tool running
I have a c++ program which serves to convert serial port data and send it to a MIDI port. Effectively a program that acts a service to run indefinitely. I have used other command line commands such as ...
2
votes
1
answer
86
views
Why do I have inconsistent evaluation of cipher and corresponding plain message using RSA algorithm?
Rationale
To simulate the RSA algorithm in C using a robust command-line application written in C.
Here is my problem:
Taking values of e=7, p=3 and q=11 works fine when encrypting and decrypting.
...
0
votes
0
answers
246
views
Created an android virtual device using command line tools but unable to run it
I have created android virtual device using the command lines tools. I have used below command to create the avd.
avdmanager create avd -n TestDevice -k "system-images;android-33;google_apis;...
0
votes
0
answers
102
views
How do you keep XCode Command Line Tools up to date on OS X?
I have the XCode Command Line Tools installed with xcode-select --install, but I don't know how to check whether they're up to date or how to update them.
What I Want To Know:
How do I check which ...
-1
votes
2
answers
122
views
Rust command line script
Not sure how to run the test image script here
https://github.com/cessen/lut_extractor
Does it require certain dependencies?
Apologies if it's black and white in the readme but I can't get it to work.
0
votes
0
answers
70
views
Is Xcode necessary for macOS Command Line Tools?
As most of macOS users will agree, if you don't have much storage and not using Xcode directly for your development purposes, it can be a bottleneck sometimes. It really keeps huge storage, in my case ...
0
votes
0
answers
434
views
invalid path to command line tools
I try to "create a new project from version control" in ij, and I have done this (same repo) before, but this time I get the above error and "clone" button doesn't get active. why ...
0
votes
2
answers
2k
views
Your Command Line Tools (CLT) does not support macOS 13
I am using MacOS Ventura 13.0, and here CLT does not support.
I am facing this issue during installing heroku cli using brew.
I tried to resolve this issue using the suggestions, but not working.
0
votes
1
answer
65
views
Read a line of text and set it as a variable for a batch file
I want to put a date/time in a line in a text file then have my batch file use that date to compare against the current date/time. How would I do that?
1
vote
1
answer
430
views
How to customize the default help text for the command line python-fire by google?
I am trying to make a small command line tool using python-fire module by google.
My filename is my_tools.py.
Inside my_tools.py I have code
class MainFunction():
def __init__(self):
self....
0
votes
0
answers
85
views
Minimal dependencies for Cleanup code command line tool
We are using ReSharper command-line tool (clean up code) for our development.
We have a requirement to clean up our c# files.
So, we are using the ReSharper command line tool (https://www.jetbrains....
0
votes
1
answer
76
views
How do I generate a file of random (IEEE-754 single-precision) floats?
In a bash script, I want to generate a file containing IEEE-754 single-precision floating point values (i.e not a text file). I want them to have a uniform distribution over some range (which I have ...
1
vote
0
answers
30
views
choosing correct handler based on CLI options
I am currently building a simple command-line application in C#. To help me with parsing and other under-the-hood stuff I use .NET System.CommandLine library. The approach for implementing options and ...
5
votes
1
answer
1k
views
Xcode build fails and repetitive requires command line developer tools install
I have updated Xcode to Version 13.4.1 (13F100),
Then tried to run a flutter project
Launching lib/main.dart on iPhone SE (3rd generation) in debug mode...
Xcode build done. ...
2
votes
2
answers
5k
views
Run xcode project in rosetta mode from terminal?
I have M1 machine,
I have one project that I only need Rosetta to run it, instead of toggle it on/off from Xcode get info menu
I tried to run the command:
arch -x86_64 open ~<PROJECTNAME>....
0
votes
0
answers
25
views
How to deploy Node CLI utility app, general question
My app in a nutshell: It is a CLI app. It does mini helper tasks. It intakes keywords into the console such as 'search' & opens a new tab with the search query, or 'definition' and pulls a ...
1
vote
1
answer
708
views
How to crop a SVG image to the bounding box of the vector grafics elements
I have a SVG image here which is generated with 'empty space', i.e. only in the top-left corner is image content, whereas the rest is blank. I think it should be trivially possible to have an ...
0
votes
2
answers
368
views
typo3 and typo3cms command line tools: list inactive extensions
I have a TYPO3 CMS v10 system running and have a question about the typo3 and typo3cms command line tools.
Maybe it is just me but I cannot figure out a way to list all the inactive ("deactivated&...
3
votes
1
answer
712
views
Installed macOS Montery and gfortran now gives error - "ld: unsupported tapi file type '!tapi-tbd' in YAML file"
I upgraded my macOS to Monterey 12.3 and my gfortran code no longer compiles. Initially, running:
gfortran -o executable make_executable1.o make_executable2.o
gave this error message:
ld: library not ...
1
vote
0
answers
132
views
Duplicate finder (Resharper) stackoverflow exception / Process is terminated due to StackOverflowException
When I try to run a duplicate finder (Resharper), I am getting an error process terminated due to StackOverflow exception
StackOverflow Exception
0
votes
2
answers
148
views
Translate characters in vim like with tr
I want to translate characters in vim like with the command line tool tr or with sed:
$ echo 'foo bar' | sed 'y/for/tes/'
tee bas
So I want to replace all occurrences of certain characters with other ...
10
votes
1
answer
15k
views
"No module named x.__main__; 'x' is a package and cannot be directly executed" when using entry_points / console_scripts
I have this CLI tool called Rackfocus. I've published to PyPI, and I'm reasonably sure it worked just fine before. When I try to run it with current versions of Python on Mac, I get the error:
No ...
1
vote
2
answers
244
views
How to use command line tool like gif2webp in react native?
I want to convert gif to webp file in my react native app to send it to other app for further process. After trying many ways I found that this gif2webp command line can do the job and I can convert ...
1
vote
0
answers
20
views
A tool that can bookmark commands instead of doing reverse-i-search
Not sure if such a tool exists or not
What I am looking for is a more sophisticated alias system. The goal is to find a tool that adds aliases to commands with description that would only work in a ...
1
vote
0
answers
566
views
How to use UNUserNotificationCenter in Swift Command Line Tool?
I want to develop a command line tool for notifications, like https://github.com/julienXX/terminal-notifier and
use new UserNotification API
But now the program is throw a exception:
Optional(Error ...
1
vote
1
answer
236
views
Random returns with some ADB command (Pull/Push)
I'm facing some problems with adb commands pull/push.
Sometimes, the command work well, I launch it, I get the percent and the result at the end :) . Like this :
But sometimes the command doesn't ...
-2
votes
1
answer
349
views
Swift Command Line Tool - Read multiple lines
I know the readLine() method, but if copy paste a text with more than one lines, only the first line will be retrieved.
I would like to retrieve all the text that the user copy pastes.
Is it possible ?...
0
votes
1
answer
93
views
SQL Server Execute with command line tool returns missing field information
I want to execute a command line utility using xp_cmdshell and return the results in CSV format for processing in a SQL Server table.
The command line with options/parameters:
tasklist /v /FO:CSV
...
0
votes
1
answer
69
views
What is the trailing 'm' on fuser's output?
I'd like to list process' which use "/dev/my/dev". (Device name is an example)
So I've used fuser:
$ fuser /dev/my/dev
/dev/my/dev: 19228m 19268 21620 21623 21663
Note the trailing 'm'.
...
1
vote
1
answer
407
views
Can I execute an Octave script from the shell in macOS?
I'm attempting to execute a script from the shell (Mac OS) using Octave, and this is exactly what I type:
$ open -a octave "my_script.m"
The result, is that Octave (the full application in ...
-1
votes
1
answer
2k
views
how to specify on newman what port and host to run on
I'm trying to integrate Newman(postman CLI tool) in my app, and I want to run it first on the localhost on a specific port, and change it in accordance later on.
Any suggestions on how to do that with ...
0
votes
1
answer
3k
views
How to copy one folder into multiple folders in windows
This is the issue. I have a folder named Covers which is in another folder named Folder A. I have to copy the Covers folder from Folder A to all the sub-folders of another folder named Folder B. There ...
0
votes
1
answer
366
views
How to execute command to process blob file in azure
I have scenario where I want to execute a command to process a file whenever it gets added to azure blob storage. That command can only take local path as input. What is the best way to achieve this ...
10
votes
2
answers
350
views
How do I use raku -e and -n with multiple file glob
I'd like to do the following in raku on windows
raku -n -e ".say if /mydatabegin/;" *.file
Failed to open file C:\..\*.file: Invalid argument
The glob isn't interpreted as a glob. I assume ...
0
votes
2
answers
231
views
R and sra toolkit - odd system() behavior
In order to extract some fastq data from NCBI's sequence read archive I've downloaded and installed the sra toolkit for Windows. In order to test if it is setup correctly, I opened cmd, navigated to ...
1
vote
1
answer
662
views
How to create an iOS app build using command line tool without Xcode?
I have a question regarding the iOS build. I just want to know that is it possible or not so the question is--
is it possible to create a build using command line tool for iOS app without Xcode. Xcode ...