Set hiddenFilesDisplayStatus to do shell script "defaults read AppleShowAllFiles"ĭo shell script "defaults write AppleShowAllFiles " & hiddenFilesNewDisplayStatus Here is the AppleScript in case you wish to give it a try: tell application "System Events" to allow me to set the keyboard shortcut for my AppleScript, and placed the AppleScript in my ~/Library/Scripts Folder. This way I don't have to manually run a terminal command to show hidden files, and I can quickly turn it off to avoid accidentally modifying system files. which toggles the visibility of hidden files within Finder whenever I want. I've set this up via an AppleScript on my machine with a keyboard shortcut of ^ + ⌘ + ⇧ +. Probably the most used shortcut I created on my machine is one to hide and show hidden files. It also works for FTP (but i have not tested anything else)įor more, just run man open in Terminal or see Open will launch the default browser and open the url. open any URL with its default handler (e.g.Open /Path/to/dir/ will launch the folder in Finder, whereas open. open a Finder window into a network share.open a Finder window into a local directory. open song.mp3 will open song.mp3 in the default audio player (in my case iTunes) In Terminal, type open -a Application to launch an application that lives in the /Applications folder, or open to launch an application that is anywhere on your computer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |