How change hidden attribute to not hidden

I can view/see folders/files that have the hidden attribute set (command+shift+.

But... how can I reset the attribute for the folder/files (without having to do it in terminal)???

MacBook (Starting Late 2009)

Posted on Dec 17, 2018 2:48 PM

Reply
Question marked as Top-ranking reply

Posted on Dec 17, 2018 3:05 PM

Choose Utilities from the Finder’s Go menu, open the Script Editor, paste the four lines below exactly as written into it, and run the script:


tell application "Finder" to quit

do shell script "chflags nohidden " & quoted form of POSIX path of (choose file with invisibles)

delay 2

tell application "Finder" to run


(166885)

7 replies
Question marked as Top-ranking reply

Dec 17, 2018 3:05 PM in response to sophie4char

Choose Utilities from the Finder’s Go menu, open the Script Editor, paste the four lines below exactly as written into it, and run the script:


tell application "Finder" to quit

do shell script "chflags nohidden " & quoted form of POSIX path of (choose file with invisibles)

delay 2

tell application "Finder" to run


(166885)

Dec 17, 2018 4:29 PM in response to Niel

OK, looks like that will do what I want. Shame that Apple decided '...they know better...' What could their reason be too not let the user have useful control of data ??? I can understand hiding system files (from accidental incidents) but hiding a users music on an iPod???? Anyway, learn something new every day and thank you very much for providing useful advise/solution.

Dec 17, 2018 7:25 PM in response to sophie4char

Well there is still something wrong.

Is this script correct:


tell application "Finder" to quit

do shell script "chflags nohidden " & quoted form of POSIX path of (choose folder with invisibles)

delay 2

tell application "Finder" to run


I copied a folder from the iPod. It was hidden, had to use command+shift+. to see them.

I ran the script on the temp folder I copied the iPod folder to.

In finder I cannot see the folder until I do the command+shift+. (the folder is dimmed out)

Any ideas on what to try next...


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How change hidden attribute to not hidden

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.