General :: Convert Batch File Into A .sh File Will Not Work

Sep 16, 2010

I am trying to convert my batch file into a .sh file and i think i have it perfect but it just will not work, so obviously not perfect. This is the code for my batch file.

[Code]....

This works perfectly on my own computer without any problems. I want to host this on my Linux VPS (CentOS 5) and need it to be converted into run.sh. This is the code for my run.sh.

[Code]....

View 9 Replies


ADVERTISEMENT

General :: Need To Convert Batch File To Shell Script

May 3, 2010

Kindly help me converting a batch file with following commands into shell script..I would like to have the same functionality with shell commands.

View 2 Replies View Related

General :: Convert Fdf File To Xsf File Or Xyz File On Ubuntu 9.10_32 Bit?

Nov 7, 2010

I want to convert fdf file to xsf file or xyz file on ubuntu 9.10_32 bit .

View 5 Replies View Related

General :: Convert Binary File In To Ascii File Using Shell Script?

May 23, 2011

i am trying to convert a binary file in to ASCII using shell script. this file contains multiple types of data like string, number, bcd, etc.

View 5 Replies View Related

General :: Convert An HTML Email Saved As A Text File To A PDF File From The Command Line?

Aug 23, 2011

I need to be able to convert HTML email messages saved as text files (.eml or .msg) to PDF documents, one PDF per email, retaining formatting and images.

Are there any Linux tools that will allow me to do this from the command line (so it can be scripted)?

View 1 Replies View Related

General :: Convert A Html File Into A Text File?

Mar 8, 2010

i'm trying to convert a html file into a text file when i simply run "html2text <filename>" the output displayed is the way we want but when i redirect the same using "-o" or ">>" the file is having extra characters in it. i even tried -ascii,but no much use.

View 4 Replies View Related

General :: Convert A .flv File To An Mpeg File Using Ffmpeg?

Jan 4, 2011

Recently I tried to convert a .flv file to an mpeg file using ffmpeg. Although I changed directory to the directory in which the.flv file resided FFMPEG said the file did not exist. However when I gave the "ls" command the file was present. Where is my mistake?

View 2 Replies View Related

General :: Execute Commands Over SSH In A Batch File?

Feb 17, 2011

I'm looking to, all in the course of one batch file:

ssh into a remote computer execute commands (per the batch file) on the remote host.

What options do I need to add to the ssh invocation so that the batch file executes the lines following the ssh invocation over the connection?

e.g., with sftp it's simply adding a -b /dev/stdin and then << EOF at the end; how do I do this with SSH?

View 1 Replies View Related

General :: Batch File Conversion Command?

Sep 30, 2010

I just learnt to convert a video file into mp4 format so I can watch it on my PS3. However, I have dozens of video files from my video cam, and want to convert them all. They are all in the same folder. Please can someone explain how I might be able to adapt the code below so I can convert all my files in a batch. Perhaps keeping their same name or giving them some other name, I don't mind.

View 6 Replies View Related

General :: Batch File To Login To Putty?

Feb 2, 2011

I've created a .bat file with this line: start C:USERSPuttyputty.exe -ssh user@server.com -pw password

That opens a putty session and logged in it with the user and password i've already specified. But now, I want to enter a simple command like "ls -l" for example.. How can I do that?

I've also tried plink...The line in that case is this one:

start C:USERSPuttyplink.exe -v -ssh user@server.com -pw password -m UNIX_commands.txt

and in that file "UNIX_commands.txt" I've added the following lines:

cd /projects/test
ls -l

all works fine (the commands are executed) but i can't see the putty session... all i can see is the verbose in my DOS windows of the last line "ls -l"...

The putty session vanishes away. How can I have the session opened and list the mentioned directory.

View 1 Replies View Related

General :: Software To Convert The .exe File To .rpm File

Jun 24, 2010

I want to use some applications in linux.But i have the applications only in .exe.Is there any software to convert the .exe in to .rpm.

View 2 Replies View Related

General :: Use Script To Batch Change File Names In Folder

Nov 9, 2009

I would like to change file names in two ways

1)
1.jpg -> 0001.jpg
2.jpg -> 0002.jpg
...
x.jpg -> 000x.jpg
...
xy.jpg -> 00xy.jpg

2)
5201.jpg -> 5001.jpg
5202.jpg -> 5002.jpg
...
5xyz.jpg -> 5(x-2)yz.jpg (where x >= 2)

View 3 Replies View Related

Ubuntu Multimedia :: Convert An Ogv File To An Ogg Or Mp3 File - Or Really ANY Audio File ?

Jul 16, 2010

I would like to convert OGV files to audio format.

View 4 Replies View Related

General :: What Program Can Batch Convert Video?

Apr 22, 2011

I have many video files that I'm trying to convert from *** to .mp4..Currently I'm using Handbrake which does a good job but getting it started is very tedious. In Handbrake I need to confirm and add to queue all of the files. When there are over 200 files at a time it takes way too long. If there is a way to not confirm all of the files please let me know.What program can I use to just add a folder and have it automatically add all of the files to my queue?

View 9 Replies View Related

Red Hat / Fedora :: Convert Plain Text File To Html File Without Using Perl?

Jun 9, 2010

I am looking for some source package which will convert plain text file to html file without using perl.

I mainly need to do this on an ARM platform, so if I get sources I can cross compile it.

View 5 Replies View Related

Ubuntu :: Convert A .avi File To A .iso File Using Devede - Choosing No Menu?

Jul 23, 2011

I get an error when trying to convert a .avi file to a .iso file using Devede. If I leave the "Create a menu with the titles" option as is I get no error. But I don't want any slideshow so I untick that option. I then get this error when the process is almost done; Failed to create the DVD tree Maybe you ran out of disk space I do have enough disk space so that can't be the problem. Anyone know what to do about this problem?

View 4 Replies View Related

Software :: Finding A Tool That Can Directly Convert Mp3 File To A Swf File?

Jan 26, 2009

I'm looking for a tool that can directly convert mp3 file to a swf file. Tried ffmprg - 'ffmpeg -i master.mp3 -ar 22050 -ab 32 -f swf -y -vn new.swf', output is as follows:

Output #0, swf, to 'new.swf':
Stream #0.0: Audio: 0x0000, 22050 Hz, stereo, 0 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Unsupported codec for output stream #0.0

I found a way to perform this task using ffmpeg to convert the mp3 file to a wav file, and converting the wav into a swf file using swftools (wav2swf), although this is not a good option because the output swf file size is very big - for a 12mb input 320kbps stereo mp3 file, the swf file is 25mb. Also downloaded a free direct mp3 to swf conversion software, which had an output swf file - with the same 12mb mp3 file - of ~400kb.

The requirements I have from the tool are:

1. Can be ran from the shell.

2. Direct conversion, or an indirect one that will produce a small output swf file.

3. Suport for multiple file conversion is a plus.

View 6 Replies View Related

Programming :: Convert An Arbitrary Binary File Into A Executable File?

Feb 18, 2010

In a project I'm working on with a few other people, I got the task of writing an assembler. The last thing I do is convert the commands into a binary representation, and jam it into a file. Now one of my teammates said he'd like to be able to "reference" the code within another program. He said he'd be able to do this if the file I output is a Linux object file. I'm thinking it'd also work as an executable. Anyway, he said he'd like to be able to grab the file and reference the binary by address. I'm still fuzzy on this, and if you're confused with what I said here, please tell me so I can ask him for better details.Anyway, I'm aware that gcc can compile files to ".o", but that's only for C/C++, and my file is just binary. I'm also aware of "ld", but I haven't seen any use of it to help me. I'm happy to hear suggestions as to what I can do. If anything, I think I'll implement a few functions to grab the bits and hand them to him in an array or something.

View 8 Replies View Related

Fedora :: Convert A Postscript File To A Gerber File?

Nov 10, 2009

Anyone know of any programs to convert a postscript file to a gerber file? LinkCAD can do it, but, it is very expensive and I can't get the demo to run.

View 1 Replies View Related

OpenSUSE :: Convert Vob / Mpg File To A Flv File Using VLC Media Player?

Mar 28, 2010

I would like to know how to convert a vob or a mpg file to a flv file using VLC Media Player.

View 9 Replies View Related

Ubuntu :: Convert A .ods File To A .csv File Via Command Line?

Oct 28, 2010

I would like to convert a .ods file to a .csv file via command line on a server running ubuntu with no graphical interface.

xls2csv does a perfect job on xls files; is there something similar for ods files?

View 1 Replies View Related

Ubuntu Multimedia :: Convert A Avi File With Subtitles Into An Iso File?

Sep 1, 2011

trying to convert a avi file with subtitles into a iso file ready for burning on to a disc, I am using DeVeDe to convert the file but I keep getting the error SPUMUX when trying to convert. I have no idea on what to do with this, is it because I am trying to convert to ISO? should I just try to convert to MPEG instead would that stop the error?

View 1 Replies View Related

General :: Convert "DOS" .txt File To Unix .txt File?

Apr 7, 2011

Possible Duplicate:convert CRLF's to line feeds on Linux

How can I convert DOS txt file to Unix txt file, so I can use my Linux parser properly?

View 7 Replies View Related

Ubuntu :: Run A .batch File?

Jul 31, 2010

I am trying to run a .batch file, I was wondering if this edit would make it work, this is a java application-loader.

Code:
#bin/bash
java -Xmx500m -cp .;Theme.jar Gui 0 1 lowmem members 32
pause

View 2 Replies View Related

General :: Convert The .csv To .mdb File?

Nov 16, 2010

how to convert the .csv to .mdb file in linux???

View 1 Replies View Related

Ubuntu Multimedia :: Unable To Use 'convert' In Command Prompt To Convert Image File Format

Jan 19, 2010

I am trying to use 'convert' in command prompt to convert image file format.I get the following error.

convert: UnableToOpenConfigureFile `delegates.xml' @ configure.c/GetConfigureOptions/589.
convert: NoDecodeDelegateForThisImageFormat `airplane.jpg' @ constitute.c/ReadImage/530.
convert: MissingAnImageFilename `airplane.ppm' @ convert.c/ConvertImageCommand/2838.

View 3 Replies View Related

Ubuntu :: How To Make A Batch File

Feb 16, 2010

I want to quickly get to the Root directly (or whatever it's called).This is how I do it now; (the text in bold is what the computer spits out)

me@me-desktop:~$ sudo -s
[sudo] password for me: (then I enter my password)
root@me -desktop:~#

I'd like to just type one the new of the batch file and then hit enter. The batch file would then do the rest.

View 9 Replies View Related

OpenSUSE :: Convert An Ical File To A Csv File?

Sep 16, 2010

How do I convert an ical file to a csv file??? Is there an application available??

View 4 Replies View Related

Ubuntu :: Convert A Text File To .BIN File?

Apr 13, 2010

i working with a simulator tool that i need to pass to it a file in .BIN format, basically i need to convert from a tex plain file to BIN file How can i do that? there is some command(s) that allow me do

View 2 Replies View Related

Server :: Convert A Hex File To An ASCII File?

Sep 8, 2010

I have a file of 2GB size in hex form. This is a log file from the server which I converted to hex as the file got corrupted.Can anyone tell how to convert this hex file to ASCII?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved