Suppose I have these files:
foo/bar/baz/test.js
foo/bar/baz/test.min.js
If I run:
shopt -s globstar
shopt -s extglob
echo foo/bar/**/*!(.min).js
...that will nonetheless match the test.min.js
file.
How do I ignore it?
Asked by lonix
(1965 rep)
Dec 13, 2024, 11:01 AM
Last activity: Jan 6, 2025, 01:58 PM
Last activity: Jan 6, 2025, 01:58 PM