A glob is a short expression that lets you select a bunch of files. 99% of the time, there’s an asterisk involved.
Here’s a (non exhaustive) list of the most useful patterns.
Depends of your glob engine, it could support more or less complex expressions. The follow list is tested using zsh.
$ ls test/*
$ ls test/*/*
$ ls test/**/*
.jsonin every folder at any level below the
$ ls test/**/*.json
.jsin every folder at any level below the
Written by Kiko Beats
Web is the Platform. Programmer, Computer Science & Software Engineer.