Turn Off File Extensions?

Joined
Jun 11, 2020
Messages
58
Reaction score
1
I made some changes to Finder to see file name extensions, but now that I no longer wish to view them, they don't seem to be turning off.
I notice on all my TextEdit files, they are now appended with a .rtf extension.
Is there a way to turn this off again?
 
Finder > Preferences > Advanced > 'Show all filename extensions'

Did you use the above method to turn on the extensions?
 
See this Apple Support page. It seems that once show extensions has been enabled, you have to go into an individual file's properties (right click and Get Info) to tick the box to Hide Extension.
 
I have come up with an applescript file that should do this (it works for me :-)). Currently it will only work on one file at a time. I am working on a multiple file selection version.

Open Script editor and put in the following code:

Code:
tell application "Finder"


    set your_file to (choose file)


    set extension hidden of your_file to true  #change to false to put back extension


end tell
and save with a name of your choosing, as an application.
double click on the icon and you can navigate to the file you need to change. Select the file and click 'Choose'
 
Back
Top