$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 是一个 支持 $GLOBIGNORE 的 Bash 集成开发工具 – 马上试用!