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

facebook reels

How to See Your Liked Reels on Facebook App and Desktop

July 11, 2026
whatsapp username key

How to Add, Change, or Remove Your WhatsApp Username Key

July 3, 2026
whatsapp username key

How to Change or Delete Your WhatsApp Username

July 3, 2026
whatsapp username key

How to Create or Reserve a WhatsApp Username (2026 Guide)

July 3, 2026
Google Gemini

How to Cancel Your Gemini Subscription (2026 Guide)

June 21, 2026
difference between chatgpt and claude

Claude vs ChatGPT: Which AI Should You Use in 2026?

June 21, 2026
google chrome logo

Google Chrome Offline Installer: Direct Download Links

July 5, 2026

Trending Stories

  • 1337x logo

    1337x Proxy List 2026: Working Proxy & Mirror Sites

  • How to See Recently Watched Reels on Facebook (2026 Guide)

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

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

  • How to Turn Off Fn Lock on a Windows Laptop

  • 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.