Questions tagged [file-format]

For questions relating to file-formats. This is a general tag, please consider using the actual file-format your question relates to as a tag instead.

Filter by
Sorted by
Tagged with
15 votes
3 answers
14k views

Why do some applications have files with no extension? [closed]

Why do developers choose to not use file extensions for certain files? Here is an example from MediaWiki - This appears with intention, e.g 'CREDITS' and 'COPYING' is with legal intent, perhaps. Why ...
J-Dizzle's user avatar
  • 275
1 vote
1 answer
173 views

How to programatically get program associated with a given file extension?

How can I without any manual GUI use check what will open file with a specific file extension - for example .rb? Not a duplicate of how can I change file association globally? as mine is about ...
reducing activity's user avatar
1 vote
1 answer
758 views

How do I forward emails in thunderbird in a format other than .eml?

When I forward emails in tbird, they are attached as .eml files. Some recipients can't open these files. How do I forward emails in a different file format? e.g., as text files perhaps?
sasha's user avatar
  • 43
3 votes
1 answer
524 views

How to change default program for files ending in one extension

In Ubuntu 18.** how do I set a default program only for files with one specific file extension? For example if I use the graphical interface and use "Set as default" for a .txt file it also changes ...
Kvothe's user avatar
  • 607
0 votes
3 answers
740 views

Bulk change file extensions [duplicate]

I have a folder with ~30 files. The are already BitTorrent metafiles that lack a .torrent suffix. I want to change all those files to .torrent files. How would I do that? In windows it was as easy as ...
mjmike mike's user avatar
0 votes
0 answers
439 views

Ubuntu Randomly Started Adding ^M (CRLF) to line breaks (all editors)

When I do normal line breaks using enter key on my Ubuntu 18 (Virtualbox), it always appeared fine in git - it never added ^M (which I learned is a version of a carriage return/line feed used by DOS). ...
karns's user avatar
  • 101
2 votes
1 answer
8k views

How does External HDD with NTFS format works on Ubuntu?

I connected my external HDD which is formatted in NTFS file format, I was able to read as well as write to it. I have read that Linux can only read NTFS drives but can't write to them. How does this ...
White Mars's user avatar
0 votes
2 answers
147 views

Can not locate a downloaded file with empty name [duplicate]

I downloaded a video using Chrome in Ubuntu by giving empty name, i.e. .mp4 only. I can play using Chrome when I click on it in the download section in Chrome but I can not find this video in the ...
Vikram Choudhary's user avatar
2 votes
1 answer
2k views

XSD-1.1 command line validation tool for Ubuntu

I'm looking for a command line tool to validate an XML file with an XSD-1.1 file. I have downloaded and installed libxerces2-java and then tried to apply Free and open source XSD 1.1 validation tool? ...
zx485's user avatar
  • 2,406
4 votes
4 answers
4k views

Canon's .CR3 - No Raw Editor on Ubuntu supports?

Please note, that format in context here is Canon's relatively new .CR3 This: I'm either not searching with the right words, or support for .CR3 from Canon camera's like the M50 (that I have) doesn'...
KhoPhi's user avatar
  • 1,888
6 votes
2 answers
910 views

FILE extension changing while copying from Ubuntu to windows

I downloaded data in Ubuntu which has an extension .text/plain bit when I copied it to my Windows 10 through USB the file extension is changed to '.file'. What should I do now to open it?
ammu's user avatar
  • 71
1 vote
1 answer
280 views

Changing file extension

I have about 1000 images saved in a weird way. "file_name".jpeg?image=%2Fmars%2Freadonly%2Fthemis%2Fpds%2FODTGEO_v2%2Fbrowse%2Fodtbws2_0050%2Fv545xxbws2%2FV54577010POL.png&rotate=0&format=...
Pruthvi Acharya's user avatar
0 votes
2 answers
11k views

Twitch error #6000

I just installed a fresh Ubuntu and logged into Firefox. I got my usual addons and credentials and after some time logged into twitch to find that every stream gets the following error: I tried ...
abhishah901's user avatar
1 vote
1 answer
132 views

Unable to upload .amr files in Ubuntu?

I'm trying to upload media files to a website I'm maintaining. The latest one to be added is .amr (test file from here) and it's causing problems, but only with Ubuntu. It works fine on Mac OS (High ...
James Bradbury's user avatar
4 votes
1 answer
1k views

Can't Move the Dropbox Folder to Ext4 or NTFS partition

I'm using Ubuntu 16.04 LTS. In response to the change in dropbox file system support, I created a new partition on my hard drive to store my dropbox files in. It's 2 GB larger than my maximum dropbox ...
NinjaBoots88's user avatar
3 votes
2 answers
3k views

Copy all files from certain file type extension in script

I am trying to execute the following command in a shell script where adir="mydir" and extType=*.txt cp "$adir/$extType" "$destination" However I get: cp: cannot stat ‘mydir/*.txt’: No such file or ...
Jocky Doe's user avatar
  • 195
0 votes
1 answer
106 views

How to change a hypen to a period in a file and/or directory

I'm trying to do this in linux/bash. I have multiple directories. I don't mind doing each one individually as there are just a few. In each directory, there are files and folders with names like... ...
KoreanGuy's user avatar
-1 votes
1 answer
284 views

How to copy every line from a file to MS Word using nano [closed]

I would like to copy every line and character from a file to Microsoft Word or another word processor. However, when I select all the text with nano text editor and paste it to LibreOffice Word, all ...
thecep1's user avatar
  • 11
0 votes
0 answers
102 views

Thunar: set different default applications for *.rkt files and *.txt files

The problem: whenever I set a default program for opening *.rkt files, it also becomes the default program for opening *.txt files. Whenever I set a default program for opening *.txt files, it also ...
zabolekar's user avatar
  • 151
1 vote
1 answer
855 views

Removing line breaks from log files

I'm trying to extract some information from a log file and need to remove the line breaks from it, in order to handle it easily, here is an example of the needed result : input file : 02/01/2018 08:...
Aziz Azizos's user avatar
-5 votes
1 answer
5k views

What's the file format of "application/x-executable" [closed]

No no no no. I can run the file. My favorite game is that file format and I can run it just fine. Same as other programs with it. My question is what the file format of it? You know. Things like .sh, ...
agamer569's user avatar
  • 189
0 votes
0 answers
145 views

How to create new file extension? [duplicate]

I need to create custom file extension like myfile.foo for scripting files how can i configure this ?
Ahmed Kamal's user avatar
0 votes
2 answers
1k views

why I get "existing superblock read failed: Invalid argument"

Facing issue while running mfks.xfs -f -i $ truncate -s 41943040 /d/backends/disk1 $ mkfs.xfs -f -i size=512 /d/backends/disk1 gives error meta-data=/d/backends/disk1 isize=512 agcount=2, ...
R_SS's user avatar
  • 581
0 votes
1 answer
808 views

LibreOffice Writer (6.0.1.1): Lock it to export files as PDF instead EPUB

I currently use LibreOffice Writer (6.0.1.1) and each time I export a document its default file extension is .EPUB. Thus, each time when I want the file to be exported as a PDF, I need to manually ...
user avatar
1 vote
2 answers
554 views

wildcards on executables (binaries)

I can use wildcards to select certain types of files by their extensions, e.g. mv *.cc src/ How to select executables that don't have an extension?
Viesturs's user avatar
  • 642
2 votes
1 answer
722 views

How can I edit srf image files?

I have a Garmin Nuvi GPS, which contains images, in dot SRF format. I would like to edit the images, or create new srf image files. I have tried to use GIMP to edit or export images to and from this ...
j0h's user avatar
  • 14.8k
0 votes
1 answer
557 views

a command or script for changing encoded characters in a text file

I believe there are other options too, but I was wondering would it be possible to replace some characters in a text file with the Command line? Example: è to č, æ to ć and so on... Could I point a ...
Dunav Rajna's user avatar
4 votes
1 answer
657 views

Why don't we have magic numbers for shell scripts?

Ubuntu and Unix systems in general use magic numbers to specify a file's type, so that e.g. VLC will open a .mp4 file even if the extension is stripped from the file name. However in scripts the ...
dessert's user avatar
  • 40k
0 votes
1 answer
3k views

How to open .ext file extension?

I have a file with *.ext extensions. How to open that file in ubuntu? I search on this, they say that it can open with norton commander in windows. Update: The file is zipped sqlite database
seseorank's user avatar
195 votes
6 answers
174k views

Any app on Ubuntu to open and/or convert HEIF pictures (.HEIC, High Efficiency Image File Format)?

A certain cellphone maker has changed the default format of taking pictures to HEIF (.HEIC, High Efficiency Image File Format), without asking the users (although there is still the option to use jpeg/...
Filbuntu's user avatar
  • 12.9k
0 votes
1 answer
62 views

File extension issue

usually when I compile a C program I give the command: gcc -o program_name program_name.c I have a folder full of program_name and program_name.c files. I wanted to delete the program_name files. ...
IDK's user avatar
  • 593
0 votes
0 answers
2k views

Cannot run g++ compiled code. Get permission error. Used chmod, got Exec format error

I have been using Code::Blocks to write some code and I used cbp2make to generate a makefile that compiles with g++. I run make and I get all of the ".o" files the makefile promises in the "obj/...
jiggly's user avatar
  • 3
1 vote
1 answer
162 views

Does a filename in Ubuntu starting with "readme" automatically become a readme document type?

I'm working on a tomcat project so I saved a jsp file with the name of readmessages.jsp with sublime-text editor. When I opened and saw its type (because it was displaying a readme icon on top of the ...
Chaitanya's user avatar
  • 137
5 votes
3 answers
8k views

What is the output of `cat image.png`?

What does the output mean when you do cat image.png? Is this what the image actually is made of? Does it matter what file extension the image has?
NerdOfCode's user avatar
  • 2,488
0 votes
1 answer
710 views

How to change recup_dir file permission?

I lost some files on an external hard drive. When I used a recovery process on the files they read only. Only root has permission to change the read only settings. How do I change those recup_dir ...
casawyer's user avatar
  • 712
1 vote
1 answer
3k views

How to open oft files in Linux

I have some older (around 2010) .oft files (seem to be mails stored in an MS Outlook format) which I need to open (or convert and open) in Kubuntu 17.04. Any suggestions?
Bruni's user avatar
  • 10.5k
0 votes
1 answer
223 views

How Do I make a program with Ubuntu Command Line [duplicate]

I want to know how to make a program that you can edit and run. The problem is I don't know what the file extension is, like how you can make a text document on windows and save as filename.bat.
spooky's user avatar
  • 1
3 votes
1 answer
62 views

Can I export the default programs to use for different file types?

I have changed a lot of defaults which programs should be used for which files, e.g. instead of using LibreOffice for CSV I use Sublime Text. Is it possible to export those? My System: Ubuntu 16.04 ...
Martin Thoma's user avatar
  • 19.2k
0 votes
2 answers
1k views

Why does Ubuntu support so many file compression formats? [closed]

I don't know if only Ubuntu or all Linux distributions support so many file compression formats. But, why are so many formats supported? Where in Windows, by default only .zip files are supported. On ...
cppxor2arr's user avatar
1 vote
1 answer
1k views

How to play Geovision video files in Ubuntu

I will need to playback some video that was made in a Geovision video camera which has its own format. I was told that there may not be a way to play them in VLC or any other because the video file ...
luisgonzalez's user avatar
  • 1,569
8 votes
2 answers
2k views

Does Ubuntu carry over Windows filenames (png, exe, ect.) or does it have its own? [duplicate]

If they do I'd love to learn the names of them and what they do.
Zinux's user avatar
  • 127
2 votes
3 answers
2k views

How to fake the format of file to an arbitrary format?

I have a 10GB .iso file with sensitive information. How can I fake its format to be a format of my choice (say .mp4) Is this method valid for any format? $ cat picture.png myiso.iso.gpg > ...
user202459's user avatar
17 votes
4 answers
43k views

How can I find all video files on my system?

I tried using the Unity Lens File search for *.* and filtering by Last Modified=All, Type=Videos, and Size=All, but found nothing, although I know there are some .3gp files in my Pictures folder. I ...
Elder Geek's user avatar
2 votes
1 answer
164 views

How can I open a file with a specific application and another file of the same file type with another application?

Example: The content of my book is stored in book.md. I want to write my book in Typora.io. The content of my presentation is stored in presentation.md. I want to work on my presentation in ...
orschiro's user avatar
  • 13.3k
0 votes
1 answer
3k views

How to edit/open or make a .c32 file?

I am editing a live-CD, inside of which I found in isolinux/vesamenu.c32. I would like to look into that file. Is there any way to open and edit a .c32 file?
Christy James's user avatar
4 votes
1 answer
683 views

Is it possible to export citation fields when saving a Writer document (.odt) as a .doc(x)?

I would like to save my LibreOffice Writer document (.odt) containing citation fields added using Zotero as a .doc(x). However when I choose to save as .docx, doc or Office Open XML (.docx) the ...
Bprodz's user avatar
  • 265
0 votes
2 answers
2k views

How to open .tar_1 file?

I downloaded some firmware packages from Intel. Two of them installed fine but this one is different and doesn't unpack fully. It could be the wrong package that I downloaded but I'd like to know ...
Rtsne42's user avatar
  • 1,207
4 votes
1 answer
159 views

Comparing directory sub-structure and file names ignoring file type/extension

This has been partly covered by Comparing the contents of two directories but I have a slightly twist on this problem. I have directories Dir1 and Dir2. Their subdirectory structures should be the ...
AlphaNumeric's user avatar
2 votes
1 answer
520 views

How to open large file with extension .v2.gz?

I am using Ubuntu 14.04 LTS. I have a large file with the extension .v2.gz and I cannot extract it with archive manager. Is there any way to uncompress the file using terminal?
user avatar
2 votes
1 answer
160 views

Can I open several files with the same extension without typing the extension through cmd?

I got a few files to open and they are all in a folder filled with files with the same extension. My question is as the title says, but I'll provide an example: yourprogram <filename1>.ext <...
Thomas's user avatar
  • 225