WebTrickz
TRENDING
  • Claude vs ChatGPT: Which Is Better in 2026?
No Result
View All Result
  • Reviews
  • Editorials
  • Social Media
    • Facebook
    • Twitter
    • YouTube
    • Messenger
    • Instagram
    • Snapchat
    • WhatsApp
    • TikTok
  • Apps
  • How To’s
  • Apple
  • iPhone
  • Google
  • Android
  • Mac
  • Security
  • About Us
    • About Us
    • Contact Us
    • Privacy Policy
  • Reviews
  • Editorials
  • Social Media
    • Facebook
    • Twitter
    • YouTube
    • Messenger
    • Instagram
    • Snapchat
    • WhatsApp
    • TikTok
  • Apps
  • How To’s
  • Apple
  • iPhone
  • Google
  • Android
  • Mac
  • Security
  • About Us
    • About Us
    • Contact Us
    • Privacy Policy
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

Add WebTrickz as a preferred source on Google
Tags: MacOS XSecurityShortcutTips
ShareTweetSend
Previous Post

How to Turn Off Active Status on the Facebook App

Next Post

Zero Dollar Movies – Directory of Free Movies on YouTube

Mayur Agarwal

Mayur Agarwal

Mayur Agarwal, the founder and editor of WebTrickz, is a tech enthusiast with a Bachelor's degree in Computer Applications and over 15 years of experience in tech writing. His passion for technology and gadgets drives him to create insightful how-to articles and troubleshooting guides.

Next Post

Zero Dollar Movies - Directory of Free Movies on YouTube

Leave a Reply Cancel reply

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

Latest Stories

Closing Apps on iPhone 18 Pro and 18 Pro Max

How to Close Apps on iPhone 18 Pro and 18 Pro Max

September 19, 2026

How to Screen Record on iPhone 18 Pro and 18 Pro Max

September 19, 2026
iPhone 18 Pro and 18 Pro Max

How to Take a Screenshot on iPhone 18 Pro or 18 Pro Max

September 23, 2026
silent mode popup in dynamic island

How to Put iPhone 18 Pro on Silent or Vibrate Mode

September 18, 2026
Closing Apps on iPhone 18 Pro and 18 Pro Max

How to Restart or Force Restart iPhone 18 Pro and 18 Pro Max

September 23, 2026
iPhone 18 Pro and 18 Pro Max

How to Turn Off iPhone 18 Pro or 18 Pro Max

September 23, 2026
instagram logo

How to Find Scheduled Posts on Instagram

July 29, 2026

Trending Stories

  • Photo by Jeff Hardi on Unsplash

    How to Turn Off Fn Lock on a Windows Laptop

  • Easiest Way to Change Galaxy Nexus from Yakjuxw (Non-Yakju) to Android 4.2 Yakju/Takju and Get future Updates from Google

  • How to Turn Off Microsoft Edge Game Assist in Windows 11

  • How to Turn Off Microsoft Family Safety on Windows 11 & 10

  • Guide to Update Galaxy Nexus (YAKJUXW) to Android 4.0.4 YAKJU and Get future Updates from Google

  • About Us
  • Contact Us
  • Privacy Policy
  • Advertise

© 2026 WebTrickz. All Rights Reserved.

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

© 2026 WebTrickz. All Rights Reserved.