Taula de continguts

ZSH Globbing (extended)

glob expression

glob operators

mucho mas:http://zsh.sourceforge.net/Doc/Release/Expansion.html#Filename-Generation

# All files that start with A
$ ls **/[A]*(.)
# All files that start with A or a
$ ls **/[Aa]*(.)
# All Files that contain the number
$ ls **/*[1]*(.)
# Any files that end in a vowel
$ ls **/*[aeiouy](.)
# Files that don't start with A or a
$ ls **/[^Aa](.)
# Files that end in a number
$ ls **/*<1-10>(.)

glob qualifiers

Ejemplos