How to look for hidden files?

Discussion in 'macOS' started by dcaccount, May 10, 2018.

  1. dcaccount macrumors regular

    Joined:
    Nov 17, 2013
    #1
    Hello,

    is there a way from within Terminal or Finder to list all hidden files in a directory?

    I am about to upload my website to a Hosting Linux and the FTP client would not allow me to delete them after the uploading.

    So I need to identify them.

    How could I do?

    Thanks,
    dan
     
  2. MacDawg macrumors Core

    MacDawg

    Joined:
    Mar 20, 2004
    Location:
    "Between the Hedges"
    #2
    In Finder just use command+shift+. (period)
    Toggles your hidden files
     
  3. dcaccount thread starter macrumors regular

    Joined:
    Nov 17, 2013
    #3
    Thanks for helping, where in Finder shall I press command+shift+. (period)? After having typed command+F to look for files?
     
  4. MacDawg macrumors Core

    MacDawg

    Joined:
    Mar 20, 2004
    Location:
    "Between the Hedges"
  5. MC6800 macrumors 6502

    Joined:
    Jun 29, 2016
    #5
    If you happen to be on El Capitan, the Cmd-Shift-period only works in file-open dialogs.

    In Terminal, it's "ls -a".
     
  6. DeltaMac macrumors G3

    DeltaMac

    Joined:
    Jul 30, 2003
    Location:
    Delaware
    #6
    You don't need to have a finder window open. The Command+Shift+. unhides all hidden files, system wide
    Press same command again to rehide files that are normally hidden.

    If you are using command-F to search for files, you can also apply a criterium to that search, by choosing Other, then File Visibility. Then you will have a new dropdown for visibility, where you can choose visible, or invisible (files), or both
     
  7. BrianBaughn macrumors 603

    BrianBaughn

    Joined:
    Feb 13, 2011
    Location:
    Baltimore, Maryland
    #7
    Additionally, you can check "In Menu" when adding criteria so that you won't have to go digging for it every time you search.
     
  8. Fishrrman macrumors P6

    Fishrrman

    Joined:
    Feb 20, 2009
    #8

Share This Page