I'm using bash 5.0.11 on macOS Catalina. Is there a good way to test if a directory contains only hidden files?
I'm looking for something that will work for both macOS and Windows filesystems.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community