#extglob — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #extglob, aggregated by home.social.
-
So my earlier #VagueToot about #bash #globbing ... I want to be able to specify something like "all the directories which don't contain a file called wibble.yml". #extglob can find files that don't match a `!(pattern)`, but I want to match the absence of such files in a directory. eg, if foo/bar, baz/bar and barf/ exist I want to be able to `ls -ld [magic goes here]` to get info about directory barf/ only.
Yes, I know other ways of doing this. I want to do it using globbing.
Because I do.