Does Not Contain
<p>I occassioanlly need to scan a folder and all of its subdirectories to see if any of them DO NOT contain files of a certain type.</p> <p>I'm fully aware you can do this with some combination of shell commands, but I always spent 20 minutes googling for how to do it again every time I needed to. It was faster just to write this small utility myself.</p> <p>I call it <code>dnc</code>, which stands for "does not contain". You can <a href="https://github.com/tylerhall/dnc">download the source or a pre-built binary on GitHub</a>. The builds aren't notarized. So be sure to ask Apple if it's OK to run this on your Mac.</p> <p>Read the full post for an example of why I need this script.</p>
read the full post →