Questions tagged [file-format]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
53 views

Is this some byte order mark problem

My question seems to come from differences between text files in different OSes. So I will try my luck here. I would like to try the default project created from a .NET Core template on Ubuntu 18.04....
0
votes
1answer
87 views

Ampersand in the passwd GECOS field

When expanding the /etc/passwd GECOS field to get the user's full name, should we expand only the first ampersand (& character), or all ampersands? In a GECOS field with comma (,) delimited ...
1
vote
1answer
59 views

Is it ok to have no newline at end of /etc/group?

I ran into a problem on busybox where my /etc/group file was not properly processed. bash> tail /etc/group ... onebutlast::1001:user1,user2 last::1002:user3bash> The user3 was not in the last ...
2
votes
3answers
363 views

How to convert a 3 column csv file into a table (or matrix)

I have an CSV input file format like this, with a nucleotide sequence in field 1, text in field 2, and an integer in field 4: ATGC,CD3,56 ATGC,CD4,67 ATGC,IgD,126 ATGC,IgM,127 AGTC,CD3,67 AGTC,CD4,78 ...
1
vote
0answers
85 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
71 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
1answer
292 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
696 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
55 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
511 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
507 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 ...
35
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....
3
votes
4answers
1k 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
243 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
3k 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
208 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 ...
1
vote
2answers
88 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 ...
4
votes
2answers
8k 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
40 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
1k 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
11k 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
8k 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
570 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
404 views

Extract file names with directory structure into CSV file (separate csv file for each image name)

I have a folder structure like :- Type1 Type 2 | ...
0
votes
1answer
99 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
403 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
153 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,...
3
votes
1answer
3k 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
326 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
97 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
3k 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
1k 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 ...
3
votes
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 ...
2
votes
3answers
4k 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
641 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
363 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:...
19
votes
6answers
49k 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
117 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 ...
2
votes
0answers
231 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
112 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
1k 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 ...
2
votes
1answer
7k 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
3k 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
633 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
600 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
242 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
2k 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
2k 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 ...