I have Tortoise svn installed on my desktop. I want to perform some tasks using commandline svn.exe? But I am not able to find svn.exe on my machine.
Do we have to install something else to get the svn.exe command?
...
I need to write a batch file to unzip files to their current folder from a given root folder.
Folder 0
|----- Folder 1
| |----- File1.zip
| |----- File2.zip
| |----- File3.zip
|
|----- Folder 2
| |----- File4.zip
|
|----- Folder 3
|----- File5....
Oftentimes, when using git, I find myself in this situation:
I have changes to several files, but I only want to commit parts of them.
I have added several untracked files, which I want to track and commit.
Solving the first part is easy; I run:
git add -p
Then, I choose which hunks to stage, and which hunks remain in my working t...
Hello,
I am trying to pass command line parameters in Debug mode in one VC++ 2008 solution as described here Debugging with command-line parameters in Visual Studio. The thing is that somehow actually VC++ is not passing the parameteres because I always get 1 for "argc" variable. Is anything else that should be enabled or what could pre...
Admittedly, this is a strange problem for me to have, but here is what I'm doing:
I've got a Ruby script that is executing a string of PHP code and capturing the output.
This is somewhat related to another problem that I had with running cgi PHP from the command line.
Here is the Ruby script's source:
#!/usr/bin/ruby
puts "Content-...
I have a php file which uses file_get_contents()
It works fine in the browser, but fails with the following error when run as a cron job:
Warning: file_get_contents(): URL
file-access is disabled in the server
configuration in
/path/to/the/phpfile.php on line 22
This is what I'm using:
/usr/bin/php5 -q
/path/to/the/php...
Hi,
For a C# project I'm experimenting with ffmpeg to extract a .wav file from a video file (in Windows).
You could do this by running it on the command line like this: "ffmpeg -i inputvid.avi + 'extra parameters' + extracted.wav".
This obviously extracts the audio from the input .avi file to a specified .wav file.
Now, I can easily ...
Hello!
I use psftp to sync directories on a linux box to my windows server (connection is initiated by the windows server). I use the "get -r /dir" command to get the files and directories recursively.
Is there any chance to get only the changed/new files so that existing files are not overwritten?
Thx,
Tobias
...
I need to run a scrip via command line but the files necessary for me to run it require me to be in the directory of the script. But I cannot do it for every command line i need to run. Their are over five thousand. Could someone tell me how to either format the list easily or add something to the format that would make it run. I have so...
I have a directory with files like this
a.JPG
b.JPG
c.JPG
I would like to perform something like this
git mv a.JPG a.jpg
I tried using xargs and other tools but nothing seems to work.
...
I have this API - which I managed to carryout some API steps solely from the CLI without using their GUI.
Now I need to execute these CLI commands (i.e. for carrying out these API steps) in Java.
When surfing, I couldn't find a helpful link for sample code on how to deal with this.
May I know how to execute CLI commands using Java code (...
Problem
Am looking to automatically move the mouse cursor and simulate mouse button clicks from the command-line using an external script. Am not looking to:
Record mouse movement and playback (e.g., xnee, xmacro)
Instantly move the mouse from one location to another (e.g., xdotool, Python's warp_pointer)
Ideal Solution
What I'd li...
In continuation off of this question, what are the PHP statements I need to accomplish this:
curl -is -F 'J:A-login=BTDT::Action::Login' -F 'J:A:F-address-login=EMAILADDRESS' -F 'J:A:F-password-login=PASSWORD' http://hiveminder.com/splash | grep -o 'JIFTY_SID_HIVEMINDER=[0-9a-f]\+'
The flags and fields are still mysterious, and I've n...
Hi!
I would like to write a python script that takes a bunch of swf files and renders them to individual image files.
Each swf file has just one frame (text, pictures etc.) and no animations at all. I have already tried the render command from the swftools toolset (The windows version), but the resolution of the resulting image is too ...
I'm still pretty new to Android and programming in general, and I can't seem to get the command line tools packaged with the Android SDK to work. I'm running Mac OSX and each time I try to run layoutopt, for example, the terminal returns, *-bash: cmd: command not found
*
Also, is it okay to have my SDK located in the Developer directory...
I want to match a part of a line for example in the sentence:
"The super id=42 or something."
I want to return the number 42.
echo "The super id=42 or something" | grep -o 'id=[0-9]+' | sed 's/id=//'
Would return the correct answer, but is there a more elegant way of solving this, for example by using only one tool?
...
I am essentially building a timer. I have a python script that monitors for an event and then prints out the seconds that have elapsed since that event.
Instead of an ugly stream of numbers printed to the command line, I would like to display only the current elapsed time "in-place"-- so that only one number is visible at any given tim...
I want to create a set of command-line utilities in python that would be used like so:
python utility.py command1 -option arg
Very similar to django management commands. Is there any library that eases the creation of such commands?
...
Hi,
Does anyone know if it is possible to copy an existing project into a new, created workspace on the fly? I can create the workspace already through command line. I am thinking I either need to copy the whole project into another workspace (possible through command line?) or create a new project and copy the .classpath and .project fo...
In Bash, # is used to comment the following. I was wondering in Windows command line, how to make a comment?
Thanks and regards!
...