search for directories containing one file and missing another – unix.stackexchange.com

I am currently aware of how to search directories and list those which do NOT contain a specific file like so: find parent_directory -mindepth 1 -maxdepth 1 -type d '!' -exec sh -c 'ls -1 "{}"|egrep ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "search for directories containing one file and missing another – unix.stackexchange.com"