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

amazon logo

How to Change Language on Amazon from Spanish to English

May 29, 2023

5 Online Tools to Save You a Lot of Time

May 23, 2023
Photo by Pixabay on Pexels

How to Convert MKV Videos to MP4 using VideoProc Converter

May 22, 2023
Image by starline on Freepik

3 Proven Methods to Repair Corrupted AVI Files

May 18, 2023
Photo by Vlada Karpovich on Pexels

Top 5 Remote Access Solutions to Consider in 2023

May 16, 2023
MS Outlook logo

How to Switch from Mozilla Thunderbird to MS Outlook?

May 15, 2023
how to get the spotify widget on iPhone Lock Screen

iOS 16: How to Add Spotify Widget to iPhone Lock Screen

May 11, 2023

TRENDING

  • messenger icon at the top of Instagram app

    How to Reply to a Specific Message on Instagram 2022

  • How to See Memories on Instagram and Post as Story

  • How to Mute the Original Sound on Instagram Reels

  • 4 Ways to Remove the Floating Home Button on iPhone

  • How to Play Floating Cloud Game in Google Mobile Search

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.