Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [file-format]

The tag has no usage guidance.

0
votes
0answers
16 views

How do I convert .JB2E files to a more common format?

I'm trying to convert some .jb2e images, which I extracted from a PDF, into a proper, common image file format like PNG or JPG. I tried using jbig2dec, but that told me jbig2dec FATAL ERROR Not a ...
0
votes
0answers
61 views

How to convert xqx files into actual text using a command like xqxdecode?

Let's say I have an XQX file (A printer stream file) that I got from LibreOffice Writer, how can I extract the text from that that file using xqxdecode? After reading the documentation for the ...
1
vote
0answers
31 views

Zip64 Extra Information Field

While trying to analyze zip files, one section Im a little confused by is the Zip64 Extra Information Field. It is expected to be generated when specific fields can't fit in the file header(Central ...
-6
votes
1answer
71 views

binary file decrypt [closed]

I want to see the message inside this binary file: ]�$�r�ux����f��aY64QH���K�z{������y�ߗ��y�m����Ǖ�} ��cy@^��+|�%E(H��*�I�P�����7��8�=$�.�`ïc� ...
0
votes
1answer
50 views

Interrupted formatting a partition

I had a 20TB LUN in one of my systems named maptha. I created two 10TB partitions out of it, mapathap1 and mpathap2. When I ran the command mkfs.ext3 /dev/mapper/mpathap1 another completely ...
1
vote
1answer
234 views

What is the number in readelf symbol table name?

I have a local static variable, something like this: void function(void) { static unsigned char myVariable = 0; ... I dump the symbol table using readelf as follows: readelf -s myprogram....
1
vote
0answers
376 views

USB sticks not detected in file system nor by GParted (Linux Mint)

I am trying to make an installable Windows USB stick in Linux Mint. It is not detecting the two drives I am attempting to format. From my understanding, I need to format the drive with GParted ...
34
votes
5answers
6k views

What's the correct way to ask for a feature in GNU Linux?

I'm trying to send a bug report for the app file, /usr/bin/file But consulting the man and sending an email BUGS Please report bugs and send patches to the bug tracker at http://bugs.gw....
2
votes
3answers
515 views

Unix unzip is failing but Mac Archive Utility works

I have a bunch of files with a .zip extension that I cannot seem to extract on my HPC: $ unzip RowlandMetaG_part1.zip Archive: RowlandMetaG_part1.zip warning [RowlandMetaG_part1.zip]: 13082642473 ...
2
votes
1answer
154 views

What is the correct format for xpra password files?

I created a username/password combination of the form onetwo:bucklemyshoe, ie the password file contains the single line onetwo|bucklemyshoe Whenever I try to connect the message appears on the ...
0
votes
0answers
2k views

How to open Composite Document File V2 Document, Cannot read section info

Output of file command for a given odt file gives me Composite Document File V2 Document, Cannot read section info. By searching on Google I found it a doc document and I installed unoconv to read ...
0
votes
2answers
107 views

combine columns within a file

I need to make some formatting adjustments to some data and I am not sure if there is a simple way to make the changes. I need to combine two columns of data into one column with a "/" in between the ...
0
votes
2answers
71 views

KDE consider programs as libraries (.so), How to change file assotiation for program?

Question: How to make the correct file extension association in KDE so programs are executable from the UI? Linux 4.9 Debian 9 (stretch) stable version 64bit 2017-09-28. KDE Plasma as included ...
2
votes
2answers
4k views

GNU nano 2: DOS Format or Mac Format on Linux

Which format (Mac or DOS) should I use on Linux PCs/Clusters? I know the difference: DOS format uses "carriage return" (CR or \r) then "line feed" (LF or \n). Mac format uses "carriage return" (CR ...
0
votes
0answers
38 views

how to handle broken XML Microsoft Office Word documents

I have received an xml file with a form that I am supposed to fill. The filename ends in .doc, so I assume it's supposed to be a word document. As far as I understand it was automatically generated by ...
2
votes
0answers
832 views

Batch convert ISO/WAV/CUE back into BIN/CUE

I've been looking for a command utility/script that does the opposite of bchunck, but can't seem to find one. What bchunck does is taking a mixed-mode CD image in BIN/CUE format and separate it into ...
23
votes
1answer
8k views

What does “LSB” mean when referring to executable files in the output of /bin/file?

I have found the term "LSB executable" or "LSB shared object" in the output of the file command in Linux. For example: $ file /bin/ls /bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), ...
1
vote
1answer
6k views

How to unpack .tar.gz.md5 file in Linux?

I have a file called gdac.broadinstitute.org_KIRC.Merge_Clinical.Level_1.2016012800.0.0.tar.gz.md5 Can anyone tell how to unpack this? I haven't seen such files till now. Thank you
1
vote
2answers
378 views

Sharing a network drive between Linux and Windows

I am currently installing a Linux distro onto the SSD of a new desktop in my home. This PC will also have a HDD for storage which will be permanently mounted on this Linux OS, but I would also like to ...
2
votes
1answer
200 views
0
votes
1answer
79 views

How to get trailing data of LZMA archive?

Similar to How to get trailing data of gzip archive? for GZIP archives I need a way to get the trailing data of an LZMA archives.
3
votes
1answer
279 views

How to add a custom GPS location to a picture?

Given a .jpg picture without associated GPS coordinates, how would you suggest to add custom coordinates to it?
0
votes
1answer
1k views

Android build tool command aapt “cannot execute binary file”

I have build tools version 25.0.1 installed on a machine running Enterprise Red Hat Linux, 64 bit. When I try and run the aapt command, from the command line I get the following: -bash: ./aapt: ...
1
vote
0answers
100 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,...
4
votes
1answer
2k views

(How) can I display an rtf on the command line?

I know there are much better solutions for writing documents through the command line that are intended to be nicely formatted (markdown, LaTeX, troff, etc. ad infinitum), but I have not encountered ...
0
votes
3answers
290 views

Unix question for a date format file

My filename will be in date format. eg: 20160920-A.cc1. Everyday I will getting different file, with the current date (yyyymmdd-A.cc1). I need to archival this file with the same name that is loaded ...
1
vote
0answers
80 views

get the toplevel folder name used by readpst -r?

I've come across the following minor problem trying to automate my use of readpst: readpst -w /some/dir/ -r mailtst.pst I can't predict the name of the top-level dir without some prior knowledge ...
10
votes
1answer
2k views

How to get trailing data of gzip archive?

I have a gzip archive with trailing data. If I unpack it using gzip -d it tells me: "decompression OK, trailing garbage ignored" (same goes for gzip -t which can be used as a method of detecting that ...
3
votes
2answers
886 views

Extract TOC of epub file

Lately I hit the command that will print the TOC of a pdf file. mutool show file.pdf outline I'd like to use a command for the epub format with similar simplicity of usage and nice result as the ...
1
vote
2answers
2k views

What is the unix mailbox format?

man git-format-patch makes reference of the UNIX mailbox format which is a term I am unfamiliar with. A google search for "UNIX mailbox format" and similar expressions lists many hits with the term ...
1
vote
3answers
3k views

Why 'cat' can't read content of pdf files?

When tried the command cat < 1.pdf it printed a very large output, which was totally incomprehensible to me. The content of 1.pdf was abc. The output was like this: ÀýÓëöûcÎ=ÉÐÎTaüÍ8]ö¹mg:=Rú*@...
1
vote
1answer
544 views

Converting column data to matrix

I am trying to create a matrix of plant traits and plant species. There are 2,912,746 rows in the data and 3 columns. There are different numbers of traits for each species, and not every species has ...
1
vote
1answer
239 views

How to convert an audio file from one format to another?

I have an audio file named with such properties: BreakingNews.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz I wanted to convert it to this format: BreakingNews.wav:...
12
votes
6answers
38k views

How can I correctly decompress a ZIP archive of files with Hebrew names?

Someone sent me a ZIP file containing files with Hebrew names (and created on Windows, not sure with which tool). I use LXDE on Debian Stretch. The Gnome archive manager manages to unzip the file, but ...
2
votes
0answers
110 views

Command like `column -t` but encoding-type agnostic? [closed]

Essentially, I am looking for an encoding-type agnostic version of the column -t command in linux. I need to convert delimited files to flat and then write to an outfile. The specific delimiter ...
1
vote
0answers
186 views

How to extract text out of QuarkXPress file in linux?

Is there a way to extract the text from QuarkXPress? (Preferably, I would not want to use QuarkXPress itself, but free software compatible with it.)
2
votes
1answer
109 views

To which files does the key stroke and mouse click data go first and what form they have?

I want to know which files belong to keystrokes and mouse clicks, and what kind of data is sent to them. My main purpose of asking this question is key logging. I want to write a key logger script ...
1
vote
1answer
938 views

How to get the structure of a GDBM database

Modem Manager GUI creates a database named sms.gdbm to store all the SMS details. Currently Modem Manager GUI is not providing a feature to simply delete all received/sent messages. So I'm trying to ...
1
vote
1answer
5k views

NTFS formatting disabled while using Gparted in CentOS 7

I am using GParted for formatting my usb-device(a pendrive). And, I unmounted my device using the GUI program itself. The device doesn't show mounted anymore. When I try to format my usb-device(/dev/...
1
vote
1answer
2k views

How to reduce the size of an mpeg file using the command line ?

I have a file, the output of the file command displays: jeff_western2.mp4: ISO Media, MPEG v4 system, version 1 I do not know how to lookup the resolution but it looks quiet high, the file itself is ...
1
vote
1answer
564 views

XML Microsoft Word Document

I have a .xml file generated by someone with MS Word and I cannot manage to open it with LibreOffice or other app or change its format. I tried to save a LibreOffice document as "Word 2003 xml" and ...
0
votes
0answers
537 views

Why are my USB flash drives not working well under Linux and Windows?

Let me explain my question better: I am a Linux user (Fedora 20) and regularly need to use USB flash drives to carry files I will need to open in Windows computers in College, and the other way around....
0
votes
1answer
234 views

hard drive formatted while Linux setup, lost partitions

I have installed Ubunto 14.04 on sda1. but after the installation finished, all the partitions are gone . I have important data on sda5 , and when I run the following command : sudo fdisk -l in the ...
1
vote
1answer
2k views

convert *.po file to *.pot

I need to convert *.PO file (binary gettext file), and I need to convert it to *.POT file(source gettext file), I did it via : msgfilter -i my pofile.po -o mypot.pot true But it didn't generate my ...
8
votes
3answers
1k views

file(1) and magic(5) : describing other formats

Can I use file and magic ( http://linux.die.net/man/5/magic ) to override the description of some other known formats ? for example, I would like to describe the following formats: BED: http://...
1
vote
2answers
1k views

File command database and identifying text files

Please let me know if below two statements are correct or not: Folder /usr/share/mime/magic has a database/table that will give me what are the current possible file formats (outputs that I can get ...
-1
votes
2answers
109 views

Reading file with different formats [duplicate]

I am a new user to Linux. I have several files and documents in my directory and sometimes when I want to read or display data in these files, I do not know which command I need to type for this ...
1
vote
2answers
153 views

cat combining not all file formats - but which ones?

In GNU⁄Linux, combining files with cat works in miraculous ways – at least for me: cat part_* > /destination/file.xyz with the same file format for BOTH source and target file(s) ...
15
votes
4answers
16k views

Linux file command classifying files

I need to recognize type of data contained in random files. I am new to Linux. I am planning to use the file command to understand what type of data a file has. I tried that command and got the ...
9
votes
5answers
3k views

When are spaces around the = sign forbidden?

I know that in ~/.bashrc one must not put spaces around = signs in assignment: $ tail -n2 ~/.bashrc alias a="echo 'You hit a!'" alias b = "echo 'You hit b!'" $ a You hit a! $ b b: command not ...