Run shopt -s extglob
once in shell
And then can use !(something)
to mean: anything that is not "something"
Ref: https://unix.stackexchange.com/questions/164025/exclude-one-pattern-from-glob-match
Run shopt -s extglob
once in shell
And then can use !(something)
to mean: anything that is not "something"
Ref: https://unix.stackexchange.com/questions/164025/exclude-one-pattern-from-glob-match