WebTrickz
TRENDING
  • How to See Your Liked Posts on Instagram 2022
No Result
View All Result
  • News
  • Reviews
  • Social Media
    • Facebook
    • Twitter
    • YouTube
    • Messenger
    • Instagram
    • Snapchat
    • WhatsApp
    • TikTok
  • Apps
  • How To’s
  • Apple
  • iPhone
  • Google
  • Android
  • Mac
SUBSCRIBE
  • News
  • Reviews
  • Social Media
    • Facebook
    • Twitter
    • YouTube
    • Messenger
    • Instagram
    • Snapchat
    • WhatsApp
    • TikTok
  • Apps
  • How To’s
  • Apple
  • iPhone
  • Google
  • Android
  • Mac
No Result
View All Result
WebTrickz
No Result
View All Result
Home How To's

Create Shortcut to Show/Hide hidden files in Mac OS X

Mayur Agarwal by Mayur Agarwal
December 28, 2021
in How To's, Mac

Unlike Windows, Mac OS X doesn’t offer a GUI-based option to show or hide hidden files and folders in Finder. Hence, you need to manually input the commands via Terminal to do this task which isn’t convenient for most users. To make it easier, you can simply make an executable script to perform the necessary commands and easily toggle between the show/hide files option on your Mac.

For those unaware, you can make any file or folder hidden in OS X by renaming it and placing a period (.) in front of its name. This will make that file/folder invisible in the Finder.

Creating a Shortcut to Show/Hide Invisible Files on Mac OS X –

Search for “AppleScript Editor” from the top right corner of the screen and open the app. Copy the script below and paste it into the editor as shown.

display dialog “Show all files” buttons {“TRUE”, “FALSE”}
set result to button returned of result
if result is equal to “TRUE” then
do shell script “defaults write com.apple.finder AppleShowAllFiles -boolean true”
else
do shell script “defaults delete com.apple.finder AppleShowAllFiles”
end if
do shell script “killall Finder”

Screen Shot 2014-01-12 at 4.39.34 PM

Then click on the ‘Compile’ button, choose File > Save As and give it a name. Make sure to select ‘Application’ as the file format and Save.

2014-01-12_16-43-43

Run the shortcut and it will ask to ‘Show all files’. Click True to show hidden files and False to hide the hidden files with just a click right from your desktop.

2014-01-12_16-46-00

Source: Stack Overflow

Tags: MacOS XSecurityShortcutTips
ShareTweetSend
Previous Post

How to Turn Off Active Status on Facebook App (2019)

Next Post

Toll Free Customer Care Numbers for PC, Mobile & Electronics Companies in India

Mayur Agarwal

Mayur Agarwal

Mayur Agarwal is the founder and editor-in-chief of WebTrickz. As a Technology enthusiast and an Internet addict, he loves sharing useful How To’s and Tips & Tricks.

Next Post

Toll Free Customer Care Numbers for PC, Mobile & Electronics Companies in India

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Latest Stories

Facebook app on iPhone

How to Find Block List on Facebook App [2023]

January 20, 2023

AimerLab MobiGo Review 2023: An effective Location Changer for iOS

January 14, 2023
whatsapp logo

How to Restore Deleted WhatsApp Messages Without Backup

December 30, 2022
story comments on facebook

How to Turn Off Story Comments on Facebook

December 3, 2022
Photo by Alwin Kroon on Unsplash

How to Turn Vibrate On or Off in iOS 16 on iPhone 

November 25, 2022
reels on Instagram and Facebook

Here’s how you can See Reels Views on Facebook

November 23, 2022

7 Best Free Online Puzzles To Enjoy At Home

November 21, 2022

TRENDING

  • Facebook saved reels

    How to Find Your Saved and Liked Reels on Facebook

  • How to Reply to a Specific Message on Instagram 2022

  • How to Mute the Original Sound on Instagram Reels

  • How to Send Files and Documents on Messenger for Android

  • How to Make Spotify Album Art Bigger on iOS 16 Lock Screen

Popular Tags

Google Android Chrome

Twitter Dark Mode OnePlus

iPhone Apple Apps Mac

Facebook Messenger Security

Instagram Tutorials Photos

  • About
  • Advertise
  • Contact
  • Privacy Policy

© 2023 WebTrickz. All Rights Reserved.

No Result
View All Result
  • News
  • Reviews
  • Apps
  • How To’s
  • Android
  • Google
  • iPhone
  • Mac
  • Contact Us

© 2023 WebTrickz. All Rights Reserved.