Skip to main content
Tweeted twitter.com/super_user/status/1559691583112577024
added 1 characters in body; edited tags; edited title
Source Link
slhck
  • 237k
  • 73
  • 640
  • 611

osx file extension show Show/hide extension of a file through OS X command line

I'm looking for a way, via terminal, to change whether or not a specific file's extension is shown in the finderFinder, something along the lines of:

    $ hideextension ~/music/somesong.mp3

withoutWithout having to open get infoGet Info and change the checkbox, as itsit's massively tedious. I

I plan on incorporating it into a script I'm calling via a shortcut using fastscriptsFastScripts. I'd like to try and stay away from GUI scripting as that feels unclean, although any ideas on how to accomplish this are welcome.

osx file extension show/hide

I'm looking for a way, via terminal, to change whether or not a specific file's extension is shown in the finder, something along the lines of:

    $ hideextension ~/music/somesong.mp3

without having to open get info and change the checkbox, as its massively tedious. I plan on incorporating it into a script I'm calling via a shortcut using fastscripts. I'd like to try and stay away from GUI scripting as that feels unclean, although any ideas on how to accomplish this are welcome.

Show/hide extension of a file through OS X command line

I'm looking for a way, via terminal, to change whether or not a specific file's extension is shown in the Finder, something along the lines of:

$ hideextension ~/music/somesong.mp3

Without having to open Get Info and change the checkbox, as it's massively tedious.

I plan on incorporating it into a script I'm calling via a shortcut using FastScripts. I'd like to try and stay away from GUI scripting as that feels unclean, although any ideas on how to accomplish this are welcome.

Source Link

osx file extension show/hide

I'm looking for a way, via terminal, to change whether or not a specific file's extension is shown in the finder, something along the lines of:

    $ hideextension ~/music/somesong.mp3

without having to open get info and change the checkbox, as its massively tedious. I plan on incorporating it into a script I'm calling via a shortcut using fastscripts. I'd like to try and stay away from GUI scripting as that feels unclean, although any ideas on how to accomplish this are welcome.