Change a file type's kind? [duplicate]

Solution 1:

File type associations are cached by LaunchServices and can become corrupt.

Try opening /Applications/Utilities/Terminal.app and entering this command:

 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user

After the command finishes, log out of your user account, and log back in


srt files, which are SubRip Text (SRT) files, are actually plain text files. You can use the file command in /Applications/Utilities/Terminal.app to see that this is so:

      chillin@stack:~$
      chillin@stack:~$
      chillin@stack:~$ curl -O http://www.sub-titles.net/static/podnapisi/a/6/d/a6d482118f7790cad9926336c3f667e87618040e.zip
      chillin@stack:~$ unzip a6d482118f7790cad9926336c3f667e87618040e.zip
      Archive:  a6d482118f7790cad9926336c3f667e87618040e.zip
      inflating: Snowpiercer.2013.720p.BluRay.DTS.x264-PublicHD.srt
      chillin@stack:~$ file Snowpiercer.2013.720p.BluRay.DTS.x264-PublicHD.srt
      Snowpiercer.2013.720p.BluRay.DTS.x264-PublicHD.srt: ASCII English text, with CRLF line terminators
      chillin@stack:~$
      chillin@stack:~$ echo; echo '     Stack Exchange RULES!'; echo

           Stack Exchange RULES!

      chillin@stack:~$
      chillin@stack:~$

Show and hide filename extensions

Two ways to do it

How to clear custom application associations in OS X