linux - What is file globbing? -
i wondering file globbing? have never heard of before , couldnt find definition when tried looking online...
globbing *
, ?
, other pattern matchers may familiar with.
globbing interprets standard wild card characters * , ?, character lists in square brackets, , other special characters (such ^ negating sense of match).
for example of *
operator, want copy files .jpg
extension in current directory somewhere else:
cp *.jpg /some/other/location
here use *
globbing pattern matcher match jpg
files in current directory.
note may similar, not same regular expressions.
you can find more detailed information here , here
Comments
Post a Comment