Stack Exchange Network

Stack Exchange network consists of 174 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-extensions]

The tag has no usage guidance.

3
votes
0answers
21 views

Create a new file type for arranging by type in finder

When I arrange my files by type in Finder, I have several classes like folders, documents, images... and others. However, all my .tex files are in others (Autres) and I want them to be grouped in a ...
0
votes
0answers
20 views

Cannot hide the extension for some files

Typically when I get a PDF file like Lecture 1.pdf I can hide its extension by the dialog “Get Info” in context menu. In the “Name & Extension” section there is a checkbox “Hide extension”, as ...
0
votes
0answers
8 views

Set default application globally for when there's no application to open the document [duplicate]

Per extension type, I can easily change the default application that is used. But it there a way to assign a default application to use for unknown extensions? Like, instead of seeing this popup, ...
0
votes
1answer
47 views

Hide all files of the same extension in Finder

I need to hide all files with .pek extension on Finder (macOS Sierra) automatically.
1
vote
1answer
67 views

Safari extension builder no “+” sign to add new extension folder

I have an extension that I need to build back to safariextz, but there is no + sign to add new extension. In the tutorials there are + signs but they are old tutorials and there is no new information. ...
1
vote
0answers
36 views

Finder displays kMDItemKind for some .java files as “Source Code”, but as “Java Source” for others

On macOS 10.13.4, for some .java files, Finder displays "Java Source" for kMDItemKind (i.e. the "Kind" column in "List" view), but for some other .java files, it displays "Source Code", even within ...
5
votes
1answer
190 views

Stop Xcode from Hijacking my File Associations

I typically associate certain file types with certain editors and IDEs. You know R with RStudio, Java with JetBrains, and all the other goodies with Sublime Text. But every time I install an Xcode ...
0
votes
0answers
34 views

Change Default App for Opening Mail.app Attachments

QUESTION: How do I change the default application that opens email attachments in macOS? Note: The system-wide change for file extension defaults did not do this. GOAL: Be able to double-click ...
0
votes
0answers
76 views

How to open a .dict_ file?

What application should I use to open and edit a .dict_ file on Mac or Windows? When I open it using a text editor I get unreadable glyphs.
1
vote
1answer
88 views

Hide a file extension by editing the file name in High Sierra

Before upgrading to High Sierra (i.e. when using Yosemite/El Capitan/Sierra) I constantly hid file extensions by hitting enter and manually removing the file extension from the file name. After ...
1
vote
1answer
796 views

How do I force TextEdit to not add .txt extension (Sierra)

I have TextEdit default to plain text files. I also have "Add .txt extension to plain text files" unchecked in the "Preferences" in the "Open and Save" section. If I perform these steps: Create new ...
2
votes
2answers
54 views

How can I set program associations in mac?

I know the way to change association per extension (get info => open with => change all) but is there a way like in Windows to change association of all video extensions to be opened by VLC like this:
4
votes
1answer
223 views

Why does macOS replace .img with .ndif extension?

I'm trying to download a custom android recovery image on my Mac but the extension is changed from .img to .ndif automatically. Is this normal? Will it have any impact on the installation on actual ...
4
votes
1answer
143 views

AppleScript: How to un-hide the file extension of a screenshot?

set filePath to "/Users/Me/Desktop/" & "Screenshot" & ".png" do shell script "screencapture -mx -T1 " & filePath tell application "Finder" set extension hidden of (filePath as POSIX ...
1
vote
2answers
70 views

OSX/MacOS Search priority for app when opening custom extension

I'm new to the Mac world but have written my first application. I have it packaged as a .app (let's say my_application.app). My application registers a custom file extension (let's say .xyz). When ...
1
vote
1answer
74 views

How can you unhide the file extension of an application created in Automator?

I've created an application with AppleScript in Automator. When I was saving the application, I made sure that the "Hide extension" box was unchecked, like so: But once the application was saved, ...
2
votes
1answer
559 views

How to use AppleScript to un-hide a file's extension?

In Finder, if you right click a file → Get Info, you will see a checkbox in the Name & Extension section that offers users the ability to Hide extension. If you press Command (⌘)-Shift-3 to take ...
0
votes
2answers
3k views

How to reset file icons associated with default program on El Capitan

I've uninstalled my former default text editor which I used for many different file formats. Unfortunately the associated icons are not removed automatically. As a result, several file types still use ...
1
vote
1answer
62 views

Finder: why is a *.wmv movie a “document” and not a movie? Howto correct?

See screen shot of my Finder settings all folders and movies (flv, divx, mkv and mov) are correct categorized, only *.wmv file is a document. Should be movie. Howto correct that? > ls -l@ *.wmv ...
0
votes
1answer
79 views

File types in EFI partition

In El Capitan, I mounted the EFI partition using sudo diskutil mount /dev/disk0s1 and instead of finding apps that I can run, I found .scap, .smc, .epm, and .efi files. What are these? The reason I ...
0
votes
3answers
712 views

File extension not hiding

I have a .dmg file and I want to hide its extension. So I do the usual and ⌘I, then check Hide extension. killall Finder just to be sure. I look and sure enough... the file extension is still there. ...
3
votes
1answer
241 views

Assigning icons system-wide based on filename without extension

I'd like Finder to display a particular icon for files based purely on its filename, not its extension. For instance, for a web project I have a Makefile sitting amidst PHP files, which all display ...
1
vote
1answer
33 views

Finder rejecting/renaming file extension?

I was just attempting to set up a local web project, and came across a peculiar behavior. If I try to change an existing filetype from anything to .scss, Finder ends up rejecting the new filetype and ...
1
vote
1answer
6k views

iPhone: Is it possible to rename the extension of a file?

I have an iPhone 5. I am new to this world. Example file: MyFile.zip.jpg ... must be renamed to: MyFile.zip ... or, if not possible or feasible, this file : MyFile.jpg ... must be renamed to: ...
1
vote
1answer
332 views

How to customize open with menu in Yosemite?

I want to customize the right click/"open with" menu for some file extensions like jpg, in order to see just the 4 apps i want to use with this file type. Google suggests me to edit the info.plist ...
2
votes
2answers
114 views

Open arbitary file from Finder in TextMate

In Finder, I see a file with the ".rel" extension. I'd like top open it in TextMate. I don't see TextMate in the list of choices, and, in fact, can't find it anywhere in the list of applications ...
1
vote
0answers
905 views

App > Get Info > Name & Extension > “Hide extension” option is greyed out

Finder menu > Preferences > Advanced > "Show all filename extensions" IS checked, and I'd like to keep it that way if at all possible. But there is one particular app that I'd like to hide ...
1
vote
3answers
2k views

How do I force OSX to always save file extension?

When saving a file without an extension not even OS X is able to open that file anymore. Still it is very easy to accidentally save a file without an extension. Example: When using Firefox and you ...
6
votes
2answers
23k views

Which font extension is used on both PC and Mac?

At the office I use a Windows running PC, in which tons of fonts are installed in .TTF, .OTF and .FON formats. I am using an iMac at home and sometimes I have to finalize my designs at home. So, ...
2
votes
2answers
11k views

How to save files on Mac with extension I want?

I need to create a .css file on my Mac. I created it with TextEdit. How do I now save it with a .css extension? It seems that very single File Format it offers will give it a different extension (rtf, ...
1
vote
1answer
352 views

TextEdit keeps changing file extensions when I save

Is there a way to prevent TextEdit from changing the file extension on a file that I open it with, or at least prompt me? Example: Open somefilename.yyy Save becomes somefilename.rtf I have ...
0
votes
2answers
70 views

File extension shows in BASH but not in Finder

I created a text file with a specific extension: Vendor_0408_Product_3008.idc It displays in finder link this: and BASH like this: -rw-r--r--@ 1 raven staff 1903 Feb 19 10:31 ...
1
vote
1answer
341 views

search for file extensions with ~ in finder

i ran a script to change a tiff image, now it created the new image but kept the original with the file extension ".tif~". Is there any way to search for all of the files in Finder or in another way ...
2
votes
2answers
548 views

Applescript to automatically add .noindex extension to a file?

I'm interested in excluding certain files from Spotlight, and it was suggested to add the .noindex extension. I'd like to automate this. How is it possible to do via Applescript?
0
votes
1answer
44 views

Can I specify file associations at a more general or specific level?

Can I set Mavericks to do things like: Open password-protected PDFs in a particular app (Skim), and other PDFs in another app, like Chrome or Preview? Open all videos in VLC? Currently I have to do ...
4
votes
2answers
2k views

List extensions that are opened with a specific application

Is there an easy way to find all the extensions that are opened with a given application? I'm asking because I have two versions of a software installed (Sublime 2 and 3), and some extensions still ...
1
vote
1answer
576 views

Prevent automatically appending file extension when renaming file

I originally have a file called config.yml. When I go into Finder and change its name to config.yml.old, it appears to have changed the extension. However, opening the file in TextWrangler reveals ...
1
vote
1answer
67 views

How does Finder decide whether a file extension needs to be hidden?

I'm using Mavericks and I noticed some of my files have their extensions hidden and others don't. How does Finder decide whether a file extension needs to be hidden? I know I can prevent this ...
2
votes
1answer
83 views

Open files with same extension in different directories with different applications

Say I have mp3 music in directory 'A' which I want to open with iTunes. And I have some more mp3 files in directory 'B' which I want to open with VLC player. How can I set the default 'application' ...
1
vote
2answers
6k views

Is there an plugin for Safari that opens certain file extensions?

I have searched for quite awhile and I can't find anything that sounds similar to what I'm looking for. A lot of my files that I access from my schools website have Microsoft Office extensions like ....
1
vote
1answer
157 views

Force Quick Look to treat .in files like .txt files

I would like Quick Look to treat files that have .in extension like regular text files, meaning show me the contents of the file after I click spacebar on them. How can I configure my system to work ...
11
votes
4answers
6k views

Icons remains the same after I have changed the default program for opening the file

I have just uninstalled a program from my new mac. The program was making itself default to open all .r files. I installed a new program, and I maked it default for opening .r files, but the old icon ...
3
votes
2answers
6k views

renamed folder becomes a file with an extension

When I create a folder and name it "test.tmp" the finder asks me if I want to add the file extension ".tmp" to my folder. When accepted, the folder changes to a document with an icon. I then can no ...
1
vote
2answers
6k views

Have Automator parse down folders and list all filenames without their extension

Automator newbee question here. I've searched around and just can't find what I need (nor fully grasp how things work :-( ). I would like to have Automator parse thru a given folder, which is ...
2
votes
3answers
924 views

Making file associations launch a certain extension, but with a console program?

It is possible using the right click menu on "Open With" to get the option to choose an application to open a certain file extension. You can then say "Always Open With This". That works if the ...
2
votes
2answers
2k views

How to hide all file extensions in subdirectories of a given folder?

I know that I can open the file information dialogue (Get Info) for several files at once using ⌘⌥I and hide/unhide file extensions. How do I accomplish this for all files in a directory tree (...
1
vote
1answer
187 views

Icon associated with extension

I'm running Mountain Lion, and my question is how to "attach" an icon to an extension? For example, I want all .adm files has an icon like on the picture below. Unfortunately all I can is just attach ...
2
votes
2answers
5k views

How to properly register a file extension on mac so it will also work by running open from the command line?

I have the following problem, I registered a file extension to be opened by a Mac Application by clicking on the file in Finder and selecting to always use the target application to open the files. ...
6
votes
2answers
2k views

How to set up a default program opening an unknown file extension?

I tried to open a file with an extension name of adb in Finder (to be precise, PathFinder). When I clicked the file, vi editor is activated to open the adb file. I didn't do anything with the adb file,...
17
votes
4answers
3k views

Problem with “Always Open With” in OS X

I want know how can I apply a software to open all my same document, for example I want to open all my PDF document with Skim but when I right click on it> open with > other and choose my desired ...