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

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -