General :: Convert "DOS" .txt File To Unix .txt File?
Apr 7, 2011Possible 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?
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?
I want to convert fdf file to xsf file or xyz file on ubuntu 9.10_32 bit .
View 5 Replies View Relatedi 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 RelatedI 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)?
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 RelatedI 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]....
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 RelatedI 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 RelatedAnyone know how to compress a file to extension z?not tar.gz , zip, 7zip
View 6 Replies View RelatedI would like to convert OGV files to audio format.
View 4 Replies View RelatedWhat are the directories and files in Unix file-system that has default user permission set. For eg. home directory of a user can't be seen by the other users on the system without his permission. In the same way what are the other directories that by default has user permission set at the time user account has opened. Eg. /etc,/bin or what
View 3 Replies View RelatedWe planned to migrate data files in Unix to Linux. The file in Unix is in big endian data format where is linux is configured as little endian byre structure. This is causing problem in data computation.
How data can be ported to linux ( converting big endian to little endian).
How linux configured can be configured for big endian byte structure.
Solaris is the os used. I want to copy files from UNIX Machine to windows network drive.I know smbclient,ftp can be used. But is there any other best option i can use?
View 2 Replies View RelatedIs it true that the UNIX commands to send a file to a printer for printing are system-dependent?
View 2 Replies View Relatedthe below tag is in the xml file. Now i want to find and extract the value of application name test1 and test2 one by one in the unix shell script. how to do this
<application name="test1">
</application>
<application name="test2">
[code]...
How to Look at history file in unix shell for a user, find 5 most often used commands.
View 5 Replies View RelatedI am tring to get the MAC address from windows xp and remove it from a file on a unix box. This is what I have so far:
getmac | plink.exe -ssh -pw "my pw" -noagent -m commands.txt root@192.168.1.82
commands.txt
cd /root
tr '-' ':' | tr -d '[:blank:]'
now this is what I get
10:9A:CD:5F:04:8ADeviceTcpip_{5A79FE8D:F227:4B91:9459:2701486C5D94}
All I need is the MAC. Everything after Device* is not needed.The file is /var/db/captiveportal_mac.db. The MAC address are listed like this.
MAC1
MAC2
MAC3
MAC4
MAC5
is there a way to view the Unix permissions for a file under Windows?
View 1 Replies View RelatedI 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.
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 RelatedI'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.
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 RelatedI wanted to install this package to convert one Unix book into pdf. Since I have not set up the internet in the debian, I download the .deb files in winxp and transfer these files to my pen drive and then access it in the Debian. So I got all the 'depends' packages for the chm2pdf from the Debian Packages site and tried to install. Console was still asking for more dependencies. If I have got all the 'depends' packages which are required for chm2pdf, then why does it give problems ?
View 3 Replies View RelatedWrite a script to convert all DOS style backslashes to UNIX style slashes in a list of files
View 2 Replies View RelatedAnyone 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 RelatedI 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 RelatedI 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?
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 Relatedhow to convert the .csv to .mdb file in linux???
View 1 Replies View RelatedI 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.