bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to find directories that only contain a certain type of files (e.g.,


From: Peng Yu
Subject: How to find directories that only contain a certain type of files (e.g., .txt)?
Date: Tue, 12 Sep 2023 10:11:43 -0500

Hi,

How to find directories that only contain a certain type of files (e.g., .txt)?

One idea that I have is to just search for all files' paths. Then use
a post-processing script to analyze which directories only contain
files of a certain type (e.g., .txt extension).

Does anybody have a better idea of how to do this search?

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]