Conversion between file formats.

learn more… | top users | synonyms (1)

1
vote
0answers
45 views

Convert / import flat file with multiple records, one variable per line

I am searching for an efficient way using (UNIX) command line tools to read a flat file into a(ny) database, perhaps after first converting to an intermediate structured format, for example XML or ...
0
votes
2answers
46 views

Convert fnt to ttf?

Is there a way to convert the .fnt-files from from /usr/share/syscons/fonts to .ttf?
0
votes
1answer
21 views

Using imagemagick to crop video

I want to crop a video that I have in yuv format using imagemagick. I am using the following command: convert -size 1280x720 my_clip_1280_720s.yuv -verbose -crop 352x288 +repage my_clip_352_288.yuv ...
0
votes
0answers
14 views

Convert VMWare virtual machine to .ISO

I have a virtual machine with the extension .vmwarevm. The OS is Ubuntu 15.04 Mini 64-bit. I have no GUI, just command line interface. I looked up a couple of tools like remastersys but had no luck. ...
1
vote
1answer
38 views

How to convert a generic xml format block to properties format String from an xml file using ksh script [closed]

With the conditions: I cannot use any XML parser tool as I don't have permission , read only My xmllint version does not support xpath, and I cannot update it , read only I dont have xmlstarlet and ...
0
votes
0answers
9 views

Exported settings from Lacie NAS OS 4 are unreadable. How to convert to human readable?

I exported some settings from my Lacie NAS with NAS OS 4 (Linux based). The resulting file looked like this 0.0-2.5.1 FWtTT1NOQwAAFRoWEh0WMRcWHQAHDh1NSU5DR0FDQFBBQUFMTVNlU05BU00DHA4XGhAaPhoLUVRB ...
1
vote
0answers
26 views

Converting a raw print data stream containing PCL commands to PDF

I have a program that sends raw print data through samba to typically PCL compatible printers. The program is written so basic PCL commands control how it prints. When sending it to the printer it ...
3
votes
2answers
166 views

Convert binary mode to text mode and the reverse option

By the following way I convert a simple binary file into a text file od –t x1 Check.tar | cut –c8- > Check.txt What is the opposite way to convert the Check.txt to Check.tar as the original file ...
1
vote
1answer
53 views

Convert Blog to PDF or Epub Book

I want a command or script to collect all the posts on a given blog and convert them into a PDF and/or Epub book without needing to be the owner of the blog. This website allows users to convert blogs ...
4
votes
1answer
50 views

How to convert ęąśćżńł TXT to PDF with enscript?

I have problem converting a file to PDF. I create the file with echo ęąśćżńł > text and convert: enscript -O text -o - | ps2pdf - out.pdf However, out.pdf has an encoding problem:
1
vote
1answer
450 views

Command line for converting .SWF to animated GIF

I'm running Kubuntu. I don't want to install any Windows applications in wine. I would like a (relatively simple) command to convert a flash animation (.SWF file) to an animated GIF. The input .SWF ...
3
votes
1answer
28 views

tiff2pdf coloured

I converted some scanned .tif files to .pdf using tiff2pdf (libtiff version 4.0.3 ) with JPEG compression. Viewing them in evince showed a coloured (pinkish) background. My initial thought was that ...
0
votes
1answer
60 views

Avconv creates 0 byte outputfile after applying frame rate reduction

I installed avconv because I am too stupid to install ffmpeg, now I realized I am even more stupid. I tried to reduce the framrate from 30 fps to 24 fps following a very straigtforward tutorial: # ...
1
vote
1answer
72 views

textutil convert PDF to txt producing garbled output

I am trying to convert PDF files to text files using textutil. I don't if there are special types of PDFs that can and cannot be converted. The files I am trying to convert are in a searchable ...
3
votes
1answer
119 views

How to convert all odt files in a folder into microsoft word files ?

I have a folder with a lot of odt files from LibreOffice, I could open each one by hand and save it as a microsoft word file, but that would take a long time, is it possible to reach this goal using ...
0
votes
2answers
309 views

How to convert WavPack to FLAC?

I need to convert a bunch of .wv files to .flac but I can't seem to find a program to do it. Does anybody know how I can do this? P.S.: I was wondering why Audacity does not support the importing .wv ...
1
vote
3answers
243 views

How to convert bash shell script to Markdown?

Imagine one has been working on a bunch of deploy scripts. These shells scripts are heavily documented with comments and links and are meant to be read by humans. Wouldn't it be handy to convert ...
0
votes
0answers
143 views

Stream to stream conversion with icecast

Currently I am using icecast to relay any stream, but i want my output steam in mp3 format whatever is input stream. Like if input relaying stream is mp4 I want my icecast to give just mp3 format of ...
4
votes
1answer
260 views

Mapping metadata with avconv does not work

The way I understand man avconv (version 9.16-6:9.16-0ubuntu0.14.04.1), the following command should convert input.ogg to output.mp3 and carry over metadata: avconv -i input.ogg -map_metadata 0 ...
0
votes
1answer
126 views

Command not working anymore in Thunar custom actions

I used to create a Thunar custom action as presented here in order to extract audio without transcoding from selected (multiple) video files . The command to be added in Thunar custom actions list ...
1
vote
1answer
158 views

Is there a way to check the losslessness of a FLAC file in Linux?

Let me explain my question with greater detail: I know FLAC is a lossless audio format with respect to the original file; this is, any piece of audio encoded with FLAC will be preserved completely. ...
1
vote
1answer
157 views

Convert Multiple Videos to Multiple GIFs

What command will convert multiple video files to multiple GIFs? I use the following command to convert 1 video to GIF: ffmpeg -i input.flv -vf scale=320:-1 output.gif I assume I'll need a bash ...
1
vote
1answer
170 views

Why can I not split a .wv file?

I'm a Fedora 20 user and am trying to split a .wv file into separate .flac files. I used this command: cuebreakpoints file.cue | shnsplit -o flac file.wv but get the following output: 56: syntax ...
3
votes
2answers
135 views

Convert all non-JPG images to JPGs

What command can I use to convert all images in a folder which are not JPGs (PNG and BMP primarily) to JPG? I'd also like the conversion quality to be 100%. And I'd like the converted images to ...
5
votes
1answer
511 views

Why can I not split a .ape file?

I would like to split a .ape album into individual tracks in .flac format using a .cue sheet. For this I followed a tutorial I found. In short I pass this command to the terminal: cuebreakpoints ...
0
votes
3answers
762 views

Split XML file into multiple files

I have an xml file that have different nodes, I want to split files like this: <unix> <mm> </unix> <osx> <nn> </osx> When I run the script I want it to make ...
1
vote
1answer
417 views

Convert XML to SQL INSERT statements using the command line

Is there a way to convert XML to SQL INSERT using the command line, here is examples: <something> <somthingelse>lol</somethingelse> </something> would be INSERT INTO ...
0
votes
1answer
36 views

How do I extract information with what I have right now?

I have a bunch of swfs, these swfs include links to other swfs inside them. I use this to convert them to xml: swf2xml Disc1.swf Disc1.swf.xml. Then I use this to remove every single line that does ...
0
votes
2answers
339 views

Conversion of plaint-text files from ASCII to Unicode without any command

Why are ASCII-encoded files extended to UTF-8 or in reverse reduced to ASCII? user:~$ echo 'A B C | } ~' > ./file user:~$ user:~$ file --brief --mime ./file text/plain; charset=us-ascii ...
1
vote
1answer
68 views

Command line tool for making icon files?

Is there any command line tool for making icns files to use for OS X apps? I am aware of icontool but it doesn't do what i want. It converts iconset files into and icns file. What i want it to do is: ...
1
vote
1answer
868 views

Converting a file from ASCII to Binary

I have a series of files that are either delimited and fixed width, containing many rows of both character and numeric values like so (delimited example): Smith,Audrey,Ford,2000,21300.99 ...
0
votes
0answers
85 views

SGE to PBS/Torque qsub conversion

Hi I am setting up a software pipeline (an extensive bioinformatic annotation tool) that was originally written to submit SGE jobs but I am on a PBS/Torque cluster. Any ideas about a way to convert ...
0
votes
1answer
150 views

Conversion of the bsonfile with two different outputs

I want convert some bson file to some json file. I do it by the using of bsondump function. bsondump exemple.bson > example.json By the old version 2.4.9 of the bsondump (depended on the version ...
1
vote
0answers
119 views

Can htmldoc create multi-level pdf bookmarks?

I downloaded an online html book (http://www.cim.mcgill.ca/~franco/OpSys-304-427/lecture-notes/lecture-notes.html), by the following command wget -r -np -nH --cut-dirs=3 -p -k ...
0
votes
1answer
73 views

Changing file name from dbf to ods problem?

I was trying to change the file name from gdf to csv in the folder using $for i in *.dbf; do mv $i ${i%.dbf}.ods; done script. The code changed all the gdf to csv, but the content of the new ...
1
vote
1answer
2k views

Converting documents to text with UTF-8 encoding

unoconv uses LibreOffice to convert any file that LibreOffice can convert. Now I need export to text with the UTF-8 character encoding. I use the following command: unoconv -f txt -e ...
1
vote
1answer
165 views

Convert linked html files into a pdf file?

I would like to convert an online book (linked html files) into a pdf file. I tried the two-step way in http://kmkeen.com/mirror/2009-02-05-14-00-00.html First, download the html files by wget -nd ...
3
votes
2answers
279 views

Image size with gscan2pdf and ImageMagick `convert` bloat

I scan all my important incoming physical-mail to PDF. I am trying to move this activity to Linux as part of the process of eliminating my dependence on Windows - where I used to use the excellent but ...
4
votes
2answers
964 views

Convert file with integers written in ascii to binary file of integers

I have a file that contains a long list of integers written in ascii separated with newlines, like such: -175 2 -19345 345592 -45 2355 etc... I want to convert this file into a "binary" file ...
6
votes
1answer
1k views

Converting .docx files to plain text and preserving line breaks to maintain line number references to source document: howto & implications?

I'm exporting MS Word content to plain text for use with text&file utilities. I have a constraint where the line numbering feature has been enabled in the MS software, and any reference to line ...
1
vote
0answers
117 views

How do I convert a TTA file and its CUE sheet into several FLAC files?

I have a sound file encoded in TTA format and a CUE sheet with its metadata. Which tools and commands do I need to convert it and split it into several FLAC files? I tried using ffmpeg to convert the ...
3
votes
1answer
227 views

Converting and rescaling a lot of png images to jpeg

I have a lot of .png images in a folder. Is there a command (or software) that can convert all them to .jpg and (simultaneously) rescale the created .jpg files to 25% of their original size?
2
votes
1answer
92 views

How to convert .doc to ODF with a command line?

I'd like to convert many Microsoft Word documents to ODF (the OO.org formata with a command line (because there are many of them). (I need them for reading afterwards on a device where reading OO.org ...
3
votes
1answer
1k views

Convert FLAC files to OGG Vorbis

Are there any Linux tools for transcoding and syncing music directories? I encode my music to FLAC, which I keep on an external hard drive. Some time ago I transcoded this collection to OGG Vorbis, ...
0
votes
0answers
544 views

How to convert a video file from mp4 to mp2

I have been searching a lot and I can't find a solution. How do you convert a video from MPEG-4 to MPEG-2? That shouldn't be too hard. But the avconv man pages don't give enough info to do this ...
2
votes
3answers
2k views

Bitmap Font data as array in C

I need to convert some X11 bitmap fonts to an array in C for a 128x64 OLED Display. I saw some fonts like /usr/share/fonts/X11/misc/9x15-ISO8859-1.pcf.gz The result should look like /* Standard ...
0
votes
1answer
187 views

Combining two bash scripts by adding flags

I have two scripts which transform the code from software v.1 to software v.2 and viceversa. These are essentially a lot of sed substitutions. In the way I wrote them they accept two arguments: ...
4
votes
3answers
8k views

Can xxd be used to output the binary representation of hex number , not a string?

I would like to generate a raw binary packet from hex in the command line for the purpose of testing a protocol. I'm hoping its simpler to do it this way than writing an aplication. Here is what ...
3
votes
2answers
5k views

How to convert a .txt subtitle file to .srt format?

I have a subtitle file, it looks like this: 00:00:44:" Myślę, więc jestem".|Kartezjusz, 1596-1650 00:01:01:Trzynaste Pietro 00:01:06:Podobno niewiedza uszczęśliwia. 00:01:10:Po raz pierwszy w ...
6
votes
3answers
3k views

How to batch convert bitmaps to SVGs?

I have many gray scale bitmaps that I need to convert to a vector format, such as SVG. I have been using Inkscape, which gives nice results, but this takes about 10-15 minutes to open, convert, and ...