Skip minified files during search.
Section: Glob filters
Exclude generated files
bash
bash
rg --glob '!*.min.js' 'sourceMappingURL' web/Explanation
Excluding generated assets reduces noise and speeds up scans.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Glob filters
Combine several globs
Layer multiple includes and excludes in one command.
Explain ignore and glob decisions
Inspect why paths are included or excluded.