Ubuntu :: Convert Cat Output To Html?
Jan 8, 2010
Is there anyway to convert standard output to html ?
for example I wanna convert a colored file like this:
Code:
git diff -u --color-words --no-index ~/file1 ~/file2 > my_colorized_output
I wanna convert my_colorized_output ( or anything else ... ) to html format.
View 3 Replies
ADVERTISEMENT
Jul 9, 2010
I have 2 GB of html files and i need to convert all of them at once to text files. Is there any way that I can do it. Converting each of them manually is really a pain and I want to convert all of them with a single command to text files.
View 5 Replies
View Related
Jul 12, 2010
I'm almost positive I've seen a program that runs on Ubuntu that can convert PDF files to HTML but I can't remember where I saw it and I have no idea what the name of it was
It would also be great if I could find a program that can convert PDFs to .odt or .doc or another format that works well with [URL] but thats not something I need right now
View 6 Replies
View Related
Feb 23, 2010
info is the dufault document format. I am very like to read documents in this format.But, sometimes there is some articles or books are composed in html format.I wonder if there is some way to convert the html documents to the info ones.
View 3 Replies
View Related
Nov 11, 2009
I want to use an utility to convert word,pdf to html with same formatting. that utility able to run in commandline also. i want to integrate it in web page. so which utility is suitable for it
View 9 Replies
View Related
Jun 13, 2011
how to convert a html url to any image format in linux ? Is thereany free command line tool to do this ?
View 3 Replies
View Related
Jan 1, 2011
Im new to linux Iam pursuing bachelors in computer science engineering.... my final year project is to develop a "html to pdf converter using linux"... i have some basic knowledge of commands used in unix
1) Where can i get the basic idea about the existing converters... their pros and cons...
.... programming...
2) Any kind of material or source where i can get basic idea of programming used for converting html pages that are linked into a single pdf..
View 1 Replies
View Related
Jun 15, 2010
I need to convert a very large latex project (made up of many .tex and style files) into .html (or something similarly non-.pdf). Can someone recommend a quality converter program? Preferably, one that is:
[Code]....
View 1 Replies
View Related
Mar 31, 2010
free program that can convert my webpages containing javascript and html code into a flowchart. also i dont mind if the program works on either windows or ubuntu as i have both.
View 1 Replies
View Related
Nov 25, 2010
I would like to know if there is an utility that converts a web tutorial made of html pages (like those about linux) to one single pdf or open-office document, so to easily print (or archive) it.
View 4 Replies
View Related
Feb 14, 2010
I'd like to find a way of
1) capturing an RDF formatted RSS feed as a file on my computer
2) converting the result to HTML using local command line tools
I've sorted 1) with wget? I've discovered xsltproc but I'm going round in circles. The master plan is to import my pinboard bookmarks into a static web site produced on my linux box using a handful of clever bash scripts.
View 7 Replies
View Related
Mar 13, 2009
I've spent a lot of time googling on this one, but could not really find anything that would convert HTML to images. Does anyone know if there are some command line tools that can do this? I need to convert simple HTML documents to images to be attached to Powerpoint presentations. Could firefox gecko be tapped into to do this without a GUI?
View 4 Replies
View Related
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
Mar 12, 2010
Basically the requirement of the script are :
1. need to run like a daemon which will read an active squid logfile in a refresh pattern of 5 minutes
2. calculate the total number requests based on different domains that the client access
3. calculate the total of number of requests based on different domains as well as the turnaround time of these access is more than 5 sec that the client access
4. calculate percentage of item 3 over item 2
5. report the results in html format as follows:
Domain Name Total req Req > 5 sec % of req > 5 sec
6. able to access the results from web browser.
View 8 Replies
View Related
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
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
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
Feb 21, 2011
How to convert Tcpdump output file to a Pcap format? Is there such way?
This is what i mean:
tcpdump -i eth0 >> test.out
Now i want to convert test.out to Pcap so It's readable via Wireshark.
View 5 Replies
View Related
Jun 22, 2011
I am trying to split a PDF into component pages that are of equal quality to the original. If I use display mypdf.pdf, then the PDF is split into pages of acceptable quality. The problem here is that I have to save each page individually. If, however, I use convert mypdf.pdf mypdf.bmp, I get the individual pages of the PDF in .BMP format (which is fine, but not exactly what I want), but the quality is substantially less than the original. I've tried dozens of combinations of commands to try to increase this quality, but to no avail.
Even if I do convert mypdf.pdf mypdfagain.pdf, there is a big loss of quality. Anyone familiar with splitting a PDF into individual pages without suffering a loss in quality?
Ideally, I would just save all the "scenes/frames" from display, but that feature unfortunately does not exist (though I may endeavor myself to add it if no formal solution exists).
NOTE: I think part of my problem might be: by using identify mypdf.pdf I can see that the resolution is specified, and when I convert it the resolution is much lower. This could be a source of quality loss, but I'm not familiar enough with image conversion to say that for sure. Whatever this command does, it removes the extra layer or whatever it is that prevents OCR from succeeding. I'd really like to understand that technology.. What is it about a PDF that allows an individual to embed some meta-data into every page of the PDF so that the only thing seen, say, through OCR, or a text search function, is the embedded text?
View 6 Replies
View Related
Mar 9, 2011
When I run
convert *.jpg output.pdf
the output looks like this:
Why is the first page bigger then the others in the PDF? The original JPEGs were all the same size!
View 1 Replies
View Related
Dec 7, 2010
I've a program which manages my pdf and references. I wish to put some of the information on my website but that program (Mendeley) does export only in XML (or bibtex). I'd like to simply convert the XML output files to SQL in order to create or update an SQL database.I'm not an expert in either XML or SQL (use only PHPMyadmin). Does someone get help me to figure out?
View 2 Replies
View Related
Mar 9, 2010
I used wget -r to get all the web pages that were linked from index.html. The pages listed in index.html are all chapters. After using wget -r, all the chapters are now in the same folder on my local hard drive. Is there a way to build the chapters in their proper order into a "long"/"full" web page, rather than simply having each chapter as a link/next link on a previous page?
View 9 Replies
View Related
Sep 12, 2009
what is the best way (i.e standard way that is supported on all browsers and probably as well followed by web crawlers).... to include an html file either locally or externally in another ? Of course , i've done the research and i also know that there are server side includes (php , asp ...you name it) at the moment , i'm using this:
Quote:
<script type="text/javascript" src="path to file/include-file.js"> </script>
however, i've been warned that this method may not show up in some browsers as some tend to ignore this tag and that crawlers like your favorite search engine wouldn't bother reading this. so , what is the best and safest way to do the job? and btw , the reason why i've ousted SSI's from the start is because of among other things:
1) the fact that the included file is static html and because the text is included pretty much everywhere
2) hoping to reduce load time as the code (if successfully recognized) would hopefully be treated like any other embedded external file (e.x like an image) , therefore it would be cached without the need to downloaded it over and over again for each new page on the site.
View 1 Replies
View Related
Sep 17, 2010
I have a few ogg files that I want to put on my phone. My phone doesn't play oggs, so I need to convert. It's just an audiobook so I really don't care about quality. Oddly, nothing I try seems to be up to the task. Here's what I tried so far:
sox my.ogg my.mp3: "sox FAIL formats: can't open output file `x.mp3': SoX was compiled without MP3 encoding support" mencoder: wants video too?? Wha?? vlc (from GUI): "p, li { white-space: pre-wrapStreaming / Transcoding failed: It seems your FFMPEG (libavcodec) installation lacks the following encoder: MPEG Audio layer 1/2/3. If you don't know how to fix this, ask for support from your distribution.
This is not an error inside VLC media player. Do not contact the VideoLAN project about this issue." lame my.ogg my.mp3: "sorry, vorbis support in LAME is deprecated." audicity (via GUI): success..but I'm now going to have to somehow script it. This is very annoying. It makes me want to rip directly into mp3 from now on. Is there an easy way to convert an ogg file to an mp3 from the command-line?
View 9 Replies
View Related
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
Mar 16, 2010
An easy way to convert wav files into mp3 (or ogg).
$ sudo-apt-get install nautilus-script-audio-convert mpg321 vorbis-tools lame nautilus-script-manager.
after that run
$ nautilus-script-manager enable ConvertAudioFile
Now, when you right click on audio file, under 'scripts', you will see ConvertAudioFile option.
View 3 Replies
View Related
May 3, 2009
I have Ubuntu 9.04 and just installed Sound Converter. I am trying to convert a bunch of .ogg files to mp3 to play on my iPod and it's not working so well. In the Sound Converter options I have is set to convert to high quality mp3. I choose the folder that the files are in and after a moment (slow laptop) Sound Converter populates, I hit 'convert' and it shows that the conversion completes in two seconds. All that it did was create the new folder structure of artist/album but there is nothing in there. Not sure what I am missing. I used Sound Converter before and it worked fine.
View 2 Replies
View Related
Jul 18, 2010
I'm trying to use convert, I have installed the imagemagick. I use this line:convert *.jpg test.pdf but I'm only able to convert to pdf 1 single jpg file, not multiple files at once. When there's more than one file, I get the following error: Segmentation fault
View 5 Replies
View Related
Dec 24, 2010
I have a lot of .flac files downloaded from several sites. Most of them come with a .cue file, and the .jpg with the cover, etc. It seems it is the intention of the uploader that one rebuilds the original CDDA. However, if I had a stand-alone CD/DVD player with flac I would hardly see the point of converting the flac to cdda. Furthermore, I could even play the flacs with a software player although, in this case, the audio quality would not be so good due to the noise picked up by the signal from the PC digital circuits.
View 2 Replies
View Related
Apr 29, 2010
I cant seem to get the sound working and when I click on perference then sounds and go to the output selection it has only dummy output as a option.
View 3 Replies
View Related