Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [file-type]

Questions about dealing with different file types, converting between them, detecting them etc.

Filter by
Sorted by
Tagged with
0 votes
2 answers
160 views

What is this type of file AND is there a parser?

type: confs targets: - /opt excludes: - ".whicotew.phsusr" cron_min: "5" cron_hour: "00" uploads: - rsync I'm searching for its parser like jq for JSON.
palmasd1's user avatar
0 votes
0 answers
46 views

Change default application for .strm files but not other types of files?

I'm trying to get .strm files (live streaming text file with the link) to automatically play with VLC. I've obviously done the 'set to default' option when telling it to use VLC, but unfortunately it ...
leopheard's user avatar
2 votes
1 answer
203 views

How to use hexadecimal code as a magic value in mime-type file

I know to add a mimetype I must use a code like that: <mime-type type="audio/x-gtp"> <comment>GuitarPro file</comment> <glob pattern="*.gp5"/> </...
Magenta's user avatar
  • 91
0 votes
1 answer
388 views

How do I make sure my file is a video file?

How can I copy video files from a directory and rest assured that the file I copied was a video file and not something else with a video extension like ".mp4"?
Ali Shavakandi's user avatar
0 votes
1 answer
247 views

How to find the archive type of an iso file?

For my iso image I used the tgz format, but there can also be an iso with xz, 7z, tar zip, etc. compression. How do I know?
Mario Palumbo's user avatar
1 vote
2 answers
209 views

Just installed KDE and libreoffice calc is the default file association for inappropriate files

Right click on many kinds of files such as tar.bz2, ogg-vorbis etc. and the context menu always shows Libreoffice calc. The software to handle these files is installed and appears in open with ...
X Naterion's user avatar
1 vote
1 answer
201 views

Same file type, different icon. How to reset it

I have a folder with Python source code. All files are being opened with double click with Text Editor, also the "problematic" one. All files have .py extension. The "problematic" ...
Francesco's user avatar
  • 121
4 votes
1 answer
1k views

How can I use the `identify` command to find out *only* the file type?

I want to use the identify command (from ImageMagick) to determine a file's type. The sample command identify -quiet 'Sample File.gif' will list several lines. Is there a short and simple way to ...
FedKad's user avatar
  • 10.7k
0 votes
0 answers
23 views

How to run .msi file in linux? (Ubuntu in my case) [duplicate]

I've been trying to run a .msi file in ubuntu. From what I've read, the .msi file can run on Windows natively, however, is it possible to run the .msi file in Linux(Ubuntu in my case)?
Ameya Uppina's user avatar
-1 votes
1 answer
104 views

file -i vs file property accuracy, how to check if file is text file

i'm using ubuntu 18.04 LTS, i'm using file -i along with find and other shell commands to generate list of text files inside a folder, it works like 99.9% of time, but there're a few exceptions from ...
jerry's user avatar
  • 127
1 vote
0 answers
57 views

20.04 How can I edit file "Type" for files so they sort separately from 'similar' files in Files/Nautilus?

I have investigated similar questions, but they do not address what I want to do. In 20.04, when I look at a folder with column "Type" enabled, I see for example, .pdf and .db files both ...
quagmire's user avatar
  • 139
5 votes
2 answers
2k views

20.04 : "open with other application" menu not working properly on the Desktop

I recently installed 20.04 and for some kinds of files, whether text or binary ones, I'm unable to choose an application to open them like I used to in 18.04. For example, when I right-click a .c (C ...
talentless's user avatar
1 vote
0 answers
155 views

properly opening compressed QGis files (.qgz) by double-click on bionic LTS causes a catch-22 regarding default application for Zip archives

Regularly using QGis on bionic 18.04.4 LTS makes me appreciate the possibility to open a compressed .qgz file by double click. This seems to not be the default after installing QGis. Obviously, one ...
qbit's user avatar
  • 111
7 votes
4 answers
7k views

How do I change all plain text files to .txt files in a directory? Is there such a command?

I have tried rename command but didn't succeed.
fedos 3d's user avatar
1 vote
0 answers
39 views

App is changing default application for specific file type

I'm trying to resolve a problem that, whenever I run Franz (https://meetfranz.com/), it changes the default application for .html files to Franz. I believe Franz is built based on electron.js so maybe ...
mimre's user avatar
  • 11
7 votes
2 answers
646 views

Command of files and size

is there a command to list what type of files are in a directory and the size? for example, .jpg 1GB, .png 2GB, .avi 3GB etc. , thanks
Stathis's user avatar
  • 81
3 votes
1 answer
5k views

How to View the Entire Contents of a dat File

I have a dat file that appears to be an application/octet stream binary coded file, which I will like to view. I have tried to use a number of text editors to open the file but none of them opened the ...
Story's user avatar
  • 31
6 votes
2 answers
924 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
19 votes
2 answers
7k views

Why not make .txt file executable instead of .sh file to run scripts?

I was wondering what's the need to put executable commands inside a .sh file to make a single script, since I can do the same by putting the commands inside a .txt file and making it executable using ...
Abhik Bhattacharjee's user avatar
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
1 vote
1 answer
246 views

ISO Files Are Being Classified As Text Files Under Kubuntu 17.10

The ISO files that I have are not being detected properly by my Kubuntu system. Some of them are getting detected as "Raw CD Image" but others getting classified as "Text Document" or "Windows ...
Ken's user avatar
  • 1,903
2 votes
1 answer
69 views

My Games folder has been turned into a program file and is no longer a directory

As stated in the title, I went to my games directory today, located on an external drive, which I hadn't used in a long time and found that it is no longer a directory but instead has turned into a ...
Bencc's user avatar
  • 133
6 votes
4 answers
6k views

reset default application to open with a file ( .crt)

using Ubuntu 14.04 I have 1 files .crt extension. when I click to open , it open with view file application which displays the certificate information and other details which is fine. Now I have ...
xkeshav's user avatar
  • 627
34 votes
2 answers
159k views

gzip: stdin: not in gzip format

When I run: tar -zxvf john-1.7.0.2.tar.gz I get this: gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now It should start unpacking. Some ...
Red fusion team's user avatar
2 votes
1 answer
66 views

Space-delimited file (foo.out) incorrectly read as image

I have Ubuntu 16.04.1 LTS Using the command write.table in R, I create a space-delimited file called foo.out. write.table(dresults, file = "foo.out", quote = F, row.names = F) For some reason, ...
pietro's user avatar
  • 144
0 votes
0 answers
127 views

Why is kate sudo-ed when remote file type is unknown?

I am accessing a remote server in Konqueror file manager using fish:// protocol (over SSH). All known file types that are plain text I can edit in Kate directly (right click > Open with > Kate). There ...
ñull's user avatar
  • 111
0 votes
1 answer
707 views

How to show WAV files on Ubuntu

I have some WAV files on my phone and they are not shown on that folder when I open it in nautilus on Ubuntu? What should I do?
Nuwan Thisara's user avatar
2 votes
2 answers
224 views

How can I change file types of multiple files at once?

I would like to change file type of multiple files at once. The files are like A.1, A.2, A.3 ... and I want them to be A.01, A.02, A.03 ... It's kind of weird file type, but that's just how my ...
Arnold's user avatar
  • 119
0 votes
1 answer
179 views

How can I change both names and file types of multiple files at once on Ubuntu 14.04?

I need to change both file names and file type of multiple files at once, but I'm not sure how to do that. For example, I have files like A.1, A.2, A.3 ... I want them to be A1.dat, A2.dat, A3.dat......
Arnold's user avatar
  • 119
5 votes
2 answers
2k views

file type options under properties on dolphin does not work. Ubuntu 16.04

I have installed dolphin, additional to Nautilus on Ubuntu 16.04. When I select a file and go to properties and press the file type options button nothing happens. A window showing possible ...
Javier's user avatar
  • 111
3 votes
2 answers
13k views

How can I view binary .log files with application/octet-stream mime type?

I have downloaded some log files from my server which I want to search for a specific string for debugging purposes. All of them have the .log extension. The problem is that one file has the plain ...
Parto's user avatar
  • 15.4k
2 votes
1 answer
2k views

create new filetype with existing extension

I made a Qt application, let's call it "alpha," that opens and generates .zip files. So basically, my files created by the app have the extension .alpha but they are basically .zip files. How do I ...
akashrajkn's user avatar
0 votes
1 answer
2k views

How to change file types?

I changed the permissions of some directories and the files within them, so now when I list them, most are highlighted green or have names that are green. Some of the files used to be blue or white, ...
ImmaFIREnMalazA's user avatar
21 votes
1 answer
3k views

How to set the default program to open a certain file type in a certain folder?

As well as being a Panda I am also an artist, I make my artwork mostly in GIMP and save my pictures to a certain directory on my computer. However I have a slight inconvenience because I save my ...
user avatar
1 vote
2 answers
8k views

How can I start VirtualBox with an image of Kali Linux?

On my Ubuntu system VirtualBox 5.0 is unable to locate the virtual optical image of Kali Linux 2.0. This is the message: Failed to open the disk image file /home/saiyad/Downloads/Kali-Linux-2.0.0-...
coolarshad's user avatar
0 votes
1 answer
430 views

how to associate a file type "sh3d" with an application Sweet Home 3D?

I installed Sweet Home 3D from Ubuntu Software Center. Application is shown in a list of installed aplication and it could be run from launcher. Default file type of the program is ".sh3d". Ubuntu 14....
Ljiljan Veselinovic's user avatar
1 vote
1 answer
2k views

how to associate a filetype with a program?

trying to associate .bluej files with bluej. so i rightclick a bluej file ->properties ->open with and here is the problem. it says: "Select an application to open "pacjage.bluej" and other files of ...
Jman's user avatar
  • 33
4 votes
3 answers
20k views

How can I delete all my core files cleanly?

My computer at work has a tendency to generate an excessive amount of core files, which can be useful for debugging, but slowly take up all of the available space on my computer. I made this command ...
Joshua Snider's user avatar
4 votes
2 answers
4k views

How to set default program to open specific file type

I wish to set the default program to open .jpg files and other image files to GIMP. To do this as said in one of the answers here, I went into this section (Right-click > Properties > Open With):...
user avatar
3 votes
2 answers
1k views

Same file extension, but different "Type" in file properties!

I have two different files that have same file extensions: *.otf. But if I right click on these two files, Nautilus shows different "Type:" for them in file properties window: One is ODF template (...
PHP Learner's user avatar
  • 2,798
1 vote
2 answers
691 views

In nautilus how can I hide file types [duplicate]

Like on windows? There doesn't seem to be an option for this? Is this possible? it's annoying looking at the .xxx all the time.
RISC OS 3's user avatar
1 vote
1 answer
3k views

How can I rename files/change their extensions based on mimetype with a script? [duplicate]

I'm hoping someone can explain to me how I can change a file type. I recently uploaded my pictures onto my laptop and half of them are saved as a file and not an image meaning I cannot upload them ...
Laura's user avatar
  • 11
1 vote
2 answers
766 views

Cannot change association for mp4 video files to custom .desktop

I cannot set default association of mp4 and avi files to my custom desktop files. For mkv, I can change from nautilus file>properties>open with tab. This is a video of the peculiar behavior that I am ...
thekindlyone's user avatar
9 votes
3 answers
11k views

Globally associate file type with certain application

I don't need "Ubuntu-tweak" and i know about GUI method of associating certain files with certain applications using right click and "Open with". I am having problem setting filetype association ...
Alexander Kim's user avatar
3 votes
2 answers
3k views

Is .ogg for Audio or for Video format?

What is the .ogg format? Is that used for audio files or used for video files? I found two examples in /usr/share/example-content/Ubuntu_Free_Culture_Showcase
αғsнιη's user avatar
  • 35.8k
2 votes
1 answer
138 views

image File type associations and sorting

Ubuntu 14.04. Just upgraded from 12 When downloading images from camera (RAW+JPG basic) In file viewer it associates both NEF and JPG as image types.My workflow first action was to separate Jpgs into ...
user272188's user avatar
1 vote
2 answers
104 views

Script showing file type?

I want to make a script that shows what type of file is for example : ./file.sh haha test lala ssss haha --> file test --> directory lala --> symbolic link ssss --> executable Im ...
user233233's user avatar
39 votes
4 answers
62k views

What does the first character of UNIX mode string indicate?

I'm very familiar with linux file permissions, and special perms (sticky bit, suid, guid) But I don't know what the c stands for? Is it a permission, or something else? I've done some googling with ...
steve51516's user avatar
  • 1,166
6 votes
0 answers
909 views

What is the replacement for AssoGiate?

During the update to Saucy, the AssoGiate module is removed as it has been declared obsolete. I can find no replacement for the editor of the MIME file types database which is compatible with UBUNTU ...
Michael Clayton's user avatar
4 votes
1 answer
2k views

Problem associating file type to application

I'm trying to make gpxviewer the default application to open .gpx files. The problem is that it doesn't appear in the "Open with" window neither I can add it. What I have tried: Using Ubuntu Tweak as ...
Salem's user avatar
  • 19.7k