How change hidden attribute to not hidden
apple Verified ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
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)???
7 replies
Sign in or join Beachball Help to reply.
- 0
Niel ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
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)
- 0
sophie4char ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Thank you. But, won't that unhide ALL files? Will it unhide folders?
I don't want to unhide ALL files, just files in a specific folder, i.e., Imports from iPod_Control so I can import them into my computers iTunes. Confirm that Apple OS does not have any equivalent to Windows properties?
- 0
sophie4char ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
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.
- 0
sophie4char ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
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...
- 0
Niel ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
1. It'll prompt for a file when run, and only affect that file. Replace file with folder if desired.
2. No, it doesn't. The Get Info window doesn't contain that option.
(166886)
- 0
sophie4char ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
oops, won't give me Choose button unless I pick a file.
- 0
sophie4char ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Oops again. I looked at the script again and see where I need to replace 'file' with 'folder'. Sorry.