Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dcaccount

macrumors 6502
Original poster
Nov 17, 2013
317
14
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
 
In Finder just use command+shift+. (period)
Toggles your hidden files
Thanks for helping, where in Finder shall I press command+shift+. (period)? After having typed command+F to look for files?
 
If you happen to be on El Capitan, the Cmd-Shift-period only works in file-open dialogs.

In Terminal, it's "ls -a".
 
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
 
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

Additionally, you can check "In Menu" when adding criteria so that you won't have to go digging for it every time you search.
 
  • Like
Reactions: DeltaMac
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.