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.

| |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.