Some commands like svn log, for example will only take one input from the command line, so I can't say grep 'pattern' | svn log. It will only return the information for the first file, so I need to execute svn log against each one independently.
I can do this with find using it's exec option: find -name '*.jsp' -exec svn log {} \;. Ho...
I do the following string of commands for git and my fingers are getting tired of typing them. :)
git add .
git commit -m 'Some message'
git push
cap deploy
How can I combine those (including adding a message) into a single command, like "git booyah" or something?
...
How can I use the tools included in the VS command prompt (Programs | MS Visual Studio 2008 | Visual Studio Tools | Visual Studio 2008 Command Prompt) from any command prompt (ie without calling vcvarsall.bat) or program?
...
I would like to get a list like below:
a.dll 1.0.0
b.dll 1.0.1
c.dll 1.0.2
...
As the title says I need to be able to create a WAV or MP3 file using SAPI on Windows XP.
I can install basically anything needed if anyone can recommend a third party application which would allow me to do this.
In terms of programming languages really only VB6 is available on the target machine (yeah...) so if anyone can recommend a ...
I need to be able to read list of variables that follow certain parameter(similar to say mysqldump --databases db1 db2 db3)
Basically script should be invoked like this:
./charge.sh --notify --target aig wfc msft --amount 1bln
In the script itself I need to assign "aig wfc msft" either to a single variable or create an array out of t...
I'm finding the scala '-i' command line option quite useful for running some scala code and then dumping me into an interactive shell so I can prod/inspect the things it defined.
One thing which completely mystifies me though: why does it load and run the script twice ?
For example, given file test.scala containing the cannonical
prin...
I want to get a list of files and preferably uncompressed file size via winrar command line. How do i do this? and how do i do this with a password? From the doc it looks like i use -pPASSWORD
...
I would like to automate the creation of symbolic links on my laptops from a simple Rails app running on a remote server. I would need to be able to run kernel tasks on the laptop from anywhere. Is this even possible to do?
...
Is there any application/project that provides you with a command line SQL client that will work with multiple databases and/or provides a mechanism for writing your own drivers?
Put another way, I'm looking for something like the mysql command line client or SQL*Plus for Oracle, but that's database agnostic.
All platforms welcome,...
ok folks, heres my dilemma i want to make a chat program that uses sms as its base engine.. to do this i need to communicate with my gsm phone via bluetooth attached to com 7 on my computer.. i can do this fine using hyperterminal, tera term etc. but to hav an un-obtrusive, friendly interface i need a command line tool to send AT command...
I am solving my C assignment in Xcode and in that program i have to give command line arguments when running the program and for this i have to user terminal like this:
./a.out myfirstCommand mySecondCommand
I was wondering if it possible to give these kind of commands within xcode instead of going to terminal. Thanks
...
How to create an empty file at the DOS/Windows command-line?
I tried:
copy nul > file.txt
but it always displays that a file was copied.
Is there any other method in the standard cmd?
It should be a method that does not require the touch command from Cygwin or any other nonstandard commands.
The command needs to run from a script s...
using windows xp i want to copy text (url) to the clipboard
then run a batch file that will use that url.
i know the reverse is possible with the clip.exe floating around.
...
hello
in unix command line !! will execute th eprevious command on the command line like below
indibm202 21: date
Tue Nov 10 17:38:13 IST 2009
indibm202 22: !!
date
Tue Nov 10 17:38:16 IST 2009
indibm202 23:
what is the command to execute the second previous command?
...
I'm trying to test output from a command line tool. How do I 'fake' a command line call with rspec? Doing the following doesn't work:
it "should call the command line and return 'text'" do
@p = Pig.new
@p.should_receive(:run).with('my_command_line_tool_call').and_return('result text')
end
How do I create that stub?
...
Please suggest a small command-line utility (for Windows) to convert files from particular directory to a valid c file. Maybe it can be done just with batch commands?
The resulting file should look like this:
static const unsigned char some_file[] = {
/* some_file.html */
0x2f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x7...
I have a list of filenames called list.txt.
I would like to copy the files in this list to a new folder.
How should I go about doing this?
Thanks!
...
How do I run a Perl script on multiple input files with the same extension?
perl scriptname.pl file.aspx
I'm looking to have it run for all aspx files in the current directory
Thanks!
...
How do I detect what command line arguments where given when a script is run with mred? That is, the equivalent of sys.argv in Python, args[] in Java, etc...
...