I am trying to repair a friend's USB drive that got a virus. All directories became .lnk and the original ones were hidden. I don't know how to permanently show the folders.
I've used sudo chflags nohidden /path but it doesn't work permanently.
Tell me more
×
Ask Different is a question and answer site for
power users of Apple hardware and software. It's 100% free, no registration required.
|
|
||||
|
|
|
Files & folders that start with a period will always be hidden in the Finder, and in Terminal listings (ls command, unless you use the -a flag i.e. "ls -a"), If renaming the folders is acceptable, then just remove the period from the folders you want to show. |
|||
|
|
|
This makes Finder show all hidden files:
|
|||
|
|