Questions tagged [conversion]

Conversion between file formats.

72 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
4answers
156 views

Replicate directory structure applying a command to each file instead of simply copying it?

Over time, I've encountered the same pattern again and again: I have some kind of directory structure: example/ ├── a │   └── c │   ├── d.txt (120k) │   └── e.txt (60k) └── b └── f.txt (...
4
votes
1answer
837 views

How to convert root filesystem to virtual disk format (img, vmdk or vdi)?

I unpacked the contents of a Mageia 6 ISO image, including a Linux root file system in it, and I've updated the root file system by chrooting into it and running dnf update. I also installed a few ...
3
votes
0answers
42 views

File conversion canary

Is there a way to tell if a flat ASCII log file, eg. the output of a command, was converted to an office document (typically: Word, Excel, Notepad) and back to a flat text file? I know at least one of ...
3
votes
1answer
57 views

libheif giving unknown file type error debian 10

I tried using heif-convert 100 3313.heif 3.jpg to convert my file from .heic to .jpg, but it keeps giving me the error message Unknown file type in 3313.heif. What does this mean? I have libde265 and ...
3
votes
0answers
627 views

Convert NEF to JPG with optimal brightness

There are multiple tools for converting Nikon raw images (.NEF) to JPEG, as well as there are multiple discussions on this topic (e.g. Converting .NEF to .JPG). My question regards optimal settings ...
3
votes
1answer
2k views

Ffmpeg problems on centOS 5.8 64 bit

I did install ffmpeg with winff, unsuccessfully when I try converting avi to x264, it says I don't have it. When I try to convert mp4 to Xvid I get unknown encoder 'libxvid'. It's like nothing really ...
3
votes
0answers
2k views

Using Image Magick Convert to Change Channel Depth?

I want to change an image depth of bitmap for testing purposes. Right now I am trying to get a 2 bit palette image, and a 4444 Hicolor image. I have a true color bitmap. I used the below command ...
2
votes
0answers
322 views

Libre Office - convert calc/exel schedule to csv from command line

I'm truing to batch convert some exel schedules to csv format from the command-line with the following command: libreoffice --convert-to csv *.xlsx I'm getting: error xsltParseStylesheetFile : cannot ...
2
votes
0answers
927 views

Using iconv to convert utf-8 characters to the closest ASCII character

I can use the iconv command to "translit" a utf-8 string to an ASCII-only string with characters being replaced with their closest ASCII character. However, my problem is that I need the ...
2
votes
0answers
257 views

How to convert files from mbox format to PST?

I'm using readpst to convert a PST file from Outlook into text files which can be parsed in Linux. I want to select a subset of these messages, and make a new PST out of them so that they can be read ...
2
votes
1answer
387 views

Feeding unicode to unrtf

I'm trying to convert some files that contain utf-8 characters from rtf to text but i can't get unrtf to not just remove them: ➜ ~ file test test: UTF-8 Unicode text ➜ ~ cat test eeeééééèèèèfff ➜ ~...
2
votes
0answers
422 views

convert attachments of type winmail.dat (TNEF) to “real” attachments in stored email messages, recursively in MailDir

Some email messages contain the attachments in a format called TNEF (Transport_Neutral_Encapsulation_Format). This attachment is usually called winmail.dat. Extraction tools exist for linux, but ...
2
votes
1answer
565 views

pdftoppm (v 3.0) very slow to convert thumbnail in newer version

On one of our local servers, I use pdftoppm (v 0.18.4) to capture the first page of a pdf file as a 1200px wide jpg. It's very quick, and works very well. I'm doing it like so: pdftoppm -f 1 -l 1 -...
2
votes
0answers
1k views

How do I convert the complete AMD64 Gentoo Handbook into a PDF from the command-line?

I have been writing shell scripts for converting the AMD64 Handbook of Gentoo Linux to PDF and this is my current shell script: function ghand { # Input 1 is the architecture # Input 2 is the ...
2
votes
1answer
221 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 csv....
2
votes
1answer
3k views

Migrate from thunderbird to sylpheed while preserving folder structure

Is there an automatic way migrate a thunderbird mailbox to sylpheed while preserving the folder structure. I tried the importexport extension for thunderbird and got a directory with multiple mbox ...
2
votes
0answers
515 views

'convert' taking a long time to create a PNG thumbnail

I made a png from a pdf using ghostscript. It was converted very fast (not more than 1 sec), and has good quality. $ identify 1.png 1.png PNG 3508x2480 3508x2480+0+0 8-bit PseudoClass 2c 51KB 0.000u ...
2
votes
0answers
198 views

How do I install dvd-slideshow on Centos 5?

How do I install dvd-slideshow on Centos 5? http://dvd-slideshow.sourceforge.net/wiki/Main_Page I tried but only found a gui to install on Ubuntu. I'm using Centos 5, command line.
2
votes
1answer
692 views

Convert scanned image to PDF with fixed DPI

Imagine I have a bunch of JPEG files that I have scanned using a known resolution (300 dpi in this case). However the JPEG file has some additional margin at the border because the scanner's area is ...
1
vote
0answers
270 views

ImageMagick refused to convert the animated GIF and killed the process silently due to CPU

I tried with these solutions below, but unsuccessfully: ImageMagick convert problem, command killed or silently exits Using disk for processing of huge images ImageMagick convert out of memory ...
1
vote
0answers
77 views

heif-convert: symbol lookup error: undefined symbol: jpeg_write_icc_profile, version LIBJPEG_6.2

I have run heif-convert successfully not long ago but now I get this error: >heif-convert bob.heic bob.jpeg heif-convert: symbol lookup error: heif-convert: undefined symbol: jpeg_write_icc_profile,...
1
vote
0answers
53 views

Include index info in pdf man pages

I know that I can get to output manual page content with man -Tpdf. Many pdf readers can display and jump to specific points or sections in the document (i.e. by hitting tab from inside zathura). I ...
1
vote
1answer
115 views

QPDF renders streams as gibberish

I have been trying to use a variety of programs to render a multilingual pdf (Hebrew/English dictionary) machine readable. QPDF (as well as pretty much every other program) renders the text as ...
1
vote
1answer
88 views

How to get convert to not interpolate pixels?

I am using ImageMagick's convert to convert a bunch of .fits files (an image format used in astronomy) to an animated .gif. My astronomical images are pretty low resolution (150 x 300 pixels) but ...
1
vote
0answers
7k views

Lightweight PDF to mobi and epub converter for Ubuntu

By lightweight I mean NOT Calibre. Please. I do not need a cataloging/library management software- which would not only consume unnecessary disk space but also ignore my current cataloging which I ...
1
vote
1answer
428 views

How to convert prc to pdf in Ubuntu cli?

Is there any CLI tool, that can convert a (Mobipocket eBook) PRC file to a PDF? I Googled on it but all I found was about converting doc(x)/HTML/series of images to pdf.
1
vote
0answers
63 views

Convert multiple group of PNG files to multilayered ICO files

Let say I've many files named e.g.: FirstIcon_16.png FirstIcon_32.png FirstIcon_colored_16.png FirstIcon_colored_32.png SecondIcon_16.png SecondIcon_32.png SecondIcon_colored_16.png ...
1
vote
1answer
308 views

tiff2pdf is auto-rotating my image

I am using: tiff2pdf -ox.pdf x.tif to generate a PDF from a TIFF. Why does the PDF show up as rotated 90 degrees left? I am using tiff2pdf version 3.9.5 on Solaris. I don't see any options to ...
1
vote
0answers
1k views

Converting FLAC with images into OGG with ffmpeg/libvorbis creates corrupt files

I have a script that extracts a specified subset of my music collection. Most of my music is FLAC; since space (and supported formats) may be an issue on the target device (smartphon, car radio, ...) ...
1
vote
0answers
208 views

Encoder to msrle format with FFMPEG

I need to create some files for an old windows API, for a video playback. The native windows files which works with this old API have the format of MSRLE. They are used as small animations during copy,...
1
vote
0answers
202 views

crop and convert to pdf adds unwanted margin

I have a few PNG files that I want to print in a certain scale. For that I want to convert each of them to (DIN-A4 sized) PDF and crop into multiple pages. So far I've used this command: convert -...
1
vote
0answers
437 views

Converting .odm to .odt or .pdf - command line

I saw this question: Converting .odm to .odt, where someone shows to convert an .odm file into .odt or .pdf. Is there also a way to do this in a command line? I have an Open Document Master file, ...
1
vote
0answers
238 views

Convert video with broken codec information

I downloaded using youtube-dl from https://www.dr.dk/tv/live/dr2#!/ The saved file is .flv, but it does not play with vlc/mplayer. avconv cannot convert it: $ avconv -i hl.flv hl.mp4 avconv version 9....
1
vote
1answer
674 views

How do I convert image files to .edj format from the command-line?

I have recently installed the E17 fork, Moksha, on my Sabayon Linux machine the problem is that the graphical tools for changing the wallpaper to JPG or PNG files are causing me grief (and yes I have ...
1
vote
1answer
462 views

Print pdf like paps, but with actual fonts?

So I convert a piece of text to PDF like so: INPUT="this text goes to a pdf file" paps $INPUT 2>/dev/null | ps2pdf -sPAPERSIZE=a4 -dOptimize=true -dEmbedAllFonts=true - out.pdf Which works great, ...
1
vote
1answer
488 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
0answers
233 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 http://www.cim.mcgill....
0
votes
0answers
11 views

Image converstion to webp format using graphicsmagick

I am trying to convert all jpg images into webp format in my folder. I use this code : find /var/www/uploads -iname '*.jpg' -exec gm convert -format webp {} + It does not work. Anybody has ...
0
votes
0answers
12 views

Recently purchased a WAVLINK Display Adapter, and need a driver for Linux Mint

I am currently using Linux Mint 20 Cinnamon, and I recently purchased a WAVLINK USB 3.0 Display Adapter (WL-UG3501D), and the drivers provided only work with Windows and Mac OS. Is there any way to ...
0
votes
0answers
9 views

Copy & Convert FLAC to SDCARD as WAV - keep bitdepth & sample rate up to 24/96

I'm looking for a way to copy FLAC-files (ranging from 16bit 44.1kHz to 24bit 192kHz) to a mircoSD card & converting those files on-the-go to WAV-files. Bit depth and sample rate should stay the ...
0
votes
1answer
22 views

efficient way to compose all frames in a video to a single image

I've got a 720p video file that is about 20 minutes long. I want to compose each frame in the video using a single operator (e.g. lighten, darken, etc.) to produce a single image output. My thought ...
0
votes
0answers
31 views

sort jpeg files into folder by tag

Please have a look at my code below. The script converts a jpeg file into a xmp file in order to read out the keywords of that file no smarter solution available. It than creates a folder named as the ...
0
votes
0answers
45 views

Conky script not running after being converted

I am attempting to convert an older conky widget to the new syntax of 1.10+, but I can't for the life of me figure out why it won't run. I've ran through everything to make sure it was converted ...
0
votes
1answer
84 views

Debian: is there a shortcut for switching from Ubuntu to Debian?

I have been running Ubuntu 20 and I want to switch to Debian 10. I know how to back up my important software, install Debian 10 from a proper ISO image, and then restore my backed-up software onto the ...
0
votes
0answers
66 views

Convert HEIC with depth to JPEG?

I've extracted a whole bunch of HEIC photos from my iPhone and many of them contain a depth channel. This is because they were taken in a portrait mode. After some digging, I was able to approach to ...
0
votes
1answer
189 views

Convert folder to .bin-File

I just downloaded a bin file for my new application. The problem is that I had to change some config files, and for that I used 7-zip to unpack the files. I changed the files the way I want to have ...
0
votes
0answers
19 views

Image conversion using IMAGEMAGIC

I am using convert utility of Image-magic on my MacOS to convert PS graphs to PNG images adding some information to the resulted image convert -undercolor white -background white -alpha deactivate -...
0
votes
0answers
9 views

mutool clean pdf output doesn't show German utf-8 characters (umlauts) and some special chars

command: mutool clean -d somepdf.pdf piece of output: Die folgende Gegen\374berstellung von alter und neuer Logik hat selbstredend nichts zu tun mit der sp\344tmittelalterlichen Unterscheidung ...
0
votes
0answers
17 views

Program to convert calendar(1) format to ics

I have some files formatted in calendar(1) format (installable on Debian using apt install bsdmainutils: Jan 05 Mungday (5th of the Season of Chaos) Festival of Hung Mung Feb 19 Chaoflux (50th of ...
0
votes
0answers
49 views

Recreate BTRFS File System with DUP Profile

Is there a way to find out the exact parameters that were originally used when a BTRFS file system was created? I'm working on a system with an older kernel version (4.4). Because of the older kernel ...