Benches macOS

15

Unhide Folder

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I have a folder that seems to have "hidden" itself. I used TinkerTool to show hidden files, and I can see it. But in a file browser (such as an Import box), the folder is still not showing up. I cannot seem to access the folder through an alias in the latter case. How can I "unhide" the folder permanently?

15 replies

Sign in or join Beachball Help to reply.

  1. 0

    thomas_r.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    In the Terminal, do this:

    chflags nohidden filepath

    ...where filepath is the path to the file. To automatically enter the file path portion of the command, just type the rest and then drag the file onto the Terminal window.

  2. 0

    Jason Agress

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    How to unhide it depends on just how it's hidden. OS X can hide files in several ways - either by its file name beginning with a period or by being "flagged."

    If it begins with a period, you can unhide (i.e. change it's name to being without a period) it with the following command in Terminal:

    +mv /path/to/file/.name /path/to/file/newname+

    If the file is flagged to be hidden, you can unhide it with the following command in Terminal:

    +chflags nohidden /path/to/file/name+

  3. 0

    Jason Agress

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Please check the folder's properties using Terminal and post back with the results.

    Open Terminal. Use the following command:

    +ls -la /path/to/foldername+

    The results will look something like "drwxr-xr-x 2 username groupname, etc...."

  4. 0

    musicwind95

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I'm getting the permissions for each item individually...I don't see the permissions for the folder itself unless it happens to be buried somewhere in the middle of the listing...I checked the beginning and the end.

    Here's what I see for the first few files:

    -rwxrwxrwx 1
    Username staff 1566203 Jan 20 2008
    Filename

    -rwxrwxrwx 1
    Username staff 29722463 Jan 20 2008
    Filename

    drwxr-xr-x 651
    Username staff 22134 Jan 27 15:45 . (Yes, that is a filename with one period)

    drwxrwxr-x 27
    Username staff 986 Feb 16 17:38 .. (Filename with two periods)

    -rw-r--r--@ 1
    Username staff 21508 Jan 27 16:02 .DS_Store

    drwxrwxrwx 185
    Username staff 6290 Aug 9 2009
    Filename

    From what I can see, permissions for most files are
    drwrwrwx or
    -rwxrwrwx

  5. 0

    Jason Agress

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I'm sorry....my mistake. Instead of specifying the path to the folder, specify the path to the folder/directory that the folder is IN. (i.e. If it's on the Desktop, it'd be ~/Desktop) Then post back the properties of the folder in question (which will be listed).

  6. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    hmm, according to this command the folder should be visible. it has no flags or extended attributes of any sort that could mess it up. try restarting the computer. also, run "verify disk" on the drive with that folder. file system errors can do strange things. if there are no errors then something may be wrong with the .DS_store files either for this folder or for the ambient folder. close all finder windows and run


    rm /path/to/folder/.DS_Store /path/to/folder/../.DS_Store; killall Finder

  7. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    the only suggestion i have is to move the contents of that folder to a temp folder, nuke this one and recreate it from scratch. this is not a system folder of some sort, is it?

  8. 0

    musicwind95

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The hidden item is a folder; the name does not begin with a period. I tried the +chflags nohidden+ command, and then quit and relaunched Finder, but that didn't do anything. Any other suggestions?

  9. 0

    musicwind95

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    For the folder it shows

    drwxr-xr-x 651
    Username staff 22134 Jan 27 15:45 +Folder name+

  10. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    please run


    ls -ladeO@ /path/to/folder

    and post the results.

  11. 0

    Jason Agress

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I had hoped that I would notice something out of the ordinary in those results. But unfortunately I do not. Sorry...

  12. 0

    musicwind95

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    When I copied & pasted the command, I get

    drwxr-xr-x 651
    Username staff - 22134 Jan 27 15:45 +Folder name+

  13. 0

    musicwind95

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks; I'll do that when I get a chance and post back with results.

  14. 0

    musicwind95

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Tried all three; no changes. Anything else?

  15. 0

    musicwind95

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    No, it's not a system folder. That worked.