General :: Convert DOS Bat File To Shell Script?

Jun 21, 2010

I need to convert the following .bat file to a linux shell script.experienced and kind linux folks:

:: Import database schema
echo off
echo.

[code]....

View 2 Replies


ADVERTISEMENT

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 :: 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 Windows Filenames To *nix Notation - Use It On Shell With Md5sum?

Aug 25, 2011

I have some checksums.md5 verification files from an ntfs external drive, but using windows notation: instead of /, spaces between file names (not escaped), reserved shell characters (like (, &, ', to name a few). The checksums.md5 has a bunch of checksums and filenames:

[code]...

I want to use this checksums.md5 to verify the files that I've copied to my machine: but I'm on a Linux, so I need to convert the names inside checksums.md5 from Windows to Linux to use the md5sum utility from the shell. The first line in my example would become: f12f75c1f2d1a658dc32ca6ef9ef3ffc My Windows & Files (2010)/[bak]/testing.wmv Is there some application for this (converting a file listing, from windows cmd notation, to linux shell notation) or will I need to create a bash script using sed that just "replaces" what is "wrong" with the filenames

View 1 Replies View Related

General :: Convert Shell Logs - Incl. Escape Characters - To HTML?

Mar 6, 2010

Is there tool or a regexp that can convert shell escape characters to HTML code?

As an example, here is a logfile from GNU screen:

Which I would like to convert to something like this:

And send as HTML e-mail to an e-mail address, to archive my work.

Here is a related question, which shows how to convert it to regular text, but it would be nice to convert to HTML and not just throw the escape characters away.

View 1 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 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

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

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 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 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 :: Bash - Shell Utils: Convert A List Of Hex To List Of Decimals?

Dec 27, 2010

How can I convert a file with a lot hex numbers into the decimal?

Example: file1
0x59999
0x5acdc
0xffeff

I want to start $ cat file1 | util | cat >file2 and get file2 with smth like

[Code]...

View 3 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

Ubuntu :: Convert Jpg/png To Eps Within Shell?

Dec 20, 2010

I need to frequently convert jpg/png to eps. Usually I use GIMP and it works fine. I would like to perform the conversion via shell (maybe with a script) without opening any graphical window. I used the command convert of ImageMagick but the quality is poor, I assume that it is because of some parameter to set I do not know. I know the question is trivial and full of posts around but I'm wasting time without finding what I'm really looking for.

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

General :: Read .gz File Direct On Shell/terminal Without Decompressing The File?

Dec 9, 2008

How can I read .gz file direct on shell/terminal without decompressing the file?
satimis

View 5 Replies View Related

General :: Shell Script That Adds Users Name To A File When The File Is Modified?

Mar 30, 2010

I need a shell script that will add the users name and date to a file when the user has modified the file, these files are within a group and only accessible to this group. But we need a way for people in the group to know who and when the file was last modified.

View 1 Replies View Related

General :: Printing From Bash Shell / Concatenate Files Into One File With File Names Included?

May 11, 2011

I am supposed to take some small files, and print them to a specific printer, such that the small files are concatenated into one file. The file name has to be included in the file that gets printed.

Should I be looking to concatenate the files into one file with the file names included, and then print them?

something like: -printfunction -printername < file*

View 7 Replies View Related

General :: Convert *.cur To X11 Cursor File Format?

Mar 6, 2011

Visibly my WM is not capable to read else than the format X11 cursors, so no way to CUR or ANI
Cheers

View 4 Replies View Related

General :: Convert Web-page Into A PDF File In 10.10(Maverick)

Feb 14, 2011

To convert web-pages into PDF file in ubuntu 10.10 is very easy way. just press Ctrl and P and you will see a new box called Print. In that you will see Print to file in printer section. Now just press Print to file now you can see Name box and Output Formate first you have select (.) PDF and and now you move to Name place and give and name to that file Exp:- xxx.pdf and now go to save in folder: place just press it to change to save on desktop. And press Print box. After pressing print box it will convert the information in PDF formate In the second way you have to go file --> print --> it will open print box as mention in above you have to convert the information into PDF format In the third way you have to go file --> print preview --> it will open a new box called Ubuntu homepage| Ubuntu - Mozilla Fire fox in that you just press Print box and it will open print box and do same as mention in first part it will convert web page into PDF format.

View 3 Replies View Related

General :: Convert Pdf File To Text Format In 4.7?

Dec 27, 2010

I have an pdf file on my linux RHEL 4.7 machine. I can open that file but when i click on 'saveas' to save the file in 'Text' format there are no options i see there. I need to save the 'pdf' file to 'text' format. could anyone tell me how to save the pdf file to Text format. Iam using 'KDE'

View 6 Replies View Related

Programming :: Convert String Into An Integre In Shell Scripting?

Dec 2, 2010

I need to part a string into separate integers ....like "0x0-0xffffffff,0x20000" into 3 integers 0x0 and 0xfffffff and 0x20000.... i can't use any other high-level languages ..

View 3 Replies View Related

Programming :: Convert Few Lines Of SHELL Script To DOS Batch

Apr 14, 2011

I really need help with this part of a shell script which I am trying to migrate to DOS batch script.

View 3 Replies View Related

General :: Tool To Convert A File Of HEX To ASCII Character Set?

Feb 10, 2011

Is there a known tool to convert a file consisting of 2 byte Hex into ascii?

Note: - Maintain file offset listing in bytes code...

View 3 Replies View Related

General :: How To Convert A Simplte Text File Into Csv Using Awk Script?

Sep 14, 2010

i am collecting usb usage details of all users and convert it into csv files so that i can export it into some database..the output desirable is in csv format for database with some batch or awk script.

View 1 Replies View Related

General :: Convert A Video File To Mxf Mxf Container Format?

May 31, 2010

I am trying to convert a mpg video file to mxf container format using ffmpeg by follwing command. ffmpeg -y -i INPUT.mpg -s 640x480 -vcodec mjpeg -b 5Mb -minrate 4Mb -maxrate 6Mb -bufsize 3Mb -an -f mxf OUTPUT.mxf

I get this error::

FFmpeg version 0.5.2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-shared --enable-libmp3lame
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1

[Code]....

View 2 Replies View Related

General :: Convert Tab Separated File To Simple X-Y Chart

Aug 27, 2009

I wrote a script which analysis apache logs. This script generates a tab separated data file. There is two columns in the data. The first column is a file name accessed from remote. The second column shows how many times a file access.

I am looking for a linux command drawing a chart corresponding data.of course, I know that I can draw the chart in OpenOffice Calc. That's not what I need. Because there is some steps to do for a simple chart drawing. If there is a command line tool, then I can write a script that drawing a chart when the data file is updated.

View 6 Replies View Related

General :: Use System Tools To Convert Csv File To Excel?

Jan 14, 2011

We would like to use linux tools to convert csv file to excel file , can advise any simple tools can do that ?

View 8 Replies View Related

General :: Filesystems - Convert A Disk Image Into A Sparse File?

Jul 31, 2010

I have a bunch of disk images, made with ddrescue, on an EXT partition, and I want to reduce their size without losing data, while still being mountable. How can I fill the empty space in the image's filesystem with zeros, and then convert the file into a sparse file so this empty space is not actually stored on disk?

For example:

> du -s --si --apparent-size Jimage.image
120G Jimage.image
> du -s --si Jimage.image
121G Jimage.image

This actually only has 50G of real data on it, though, so the second measurement should be much smaller.

This supposedly will fill empty space with zeros: cat /dev/zero > zero.file rm zero.file But if sparse files are handled transparently, it might actually create a sparse file without writing anything to the virtual disk, ironically preventing me from turning the virtual disk image into a sparse file itself. :) Does it? Note: For some reason, sudo dd if=/dev/zero of=./zero.file works when cat does not on a mounted disk image.

View 4 Replies View Related

General :: Program To Convert Audio File Of Fax Transmission To Image?

Dec 2, 2010

I have a number of uncompressed audio files recorded off of an analog (POTS) telephone line of fax transmissions. Is there a Linux utility or library I could use to convert these files into images of the fax they contain? I'm not looking to send/receive a fax via a modem, but just to "replay" the communications tones and parse out the fax message.I'm guessing this may not be possible due to duplex issues and not knowing which end of the conversation is sending what,but thought I'd ask to see if anyone knew of something.

View 4 Replies View Related







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