$GLOBIGNORE
–
Ignored Patterns for Filename Expansion
$GLOBIGNORE
is a colon-separated list of patterns. Each pattern defines filenames, which are ignored by filename
expansion. Files, which match one of the patterns, are removed from the list of expanded filenames.
Links
Examples
- Exclude temporary files from filename expansion:
1 2
GLOBIGNORE='tmp_*' ls *.sh
BashSupport Pro ist eine Bash IDE mit Unterstützung für $GLOBIGNORE – probieren Sie es aus!