Top "Glob" questions

globs, more properly called [shell] patterns, and also known as wildcard expressions, are instances of a pattern-matching language used in many, esp.

When to use ** (double star) in glob syntax within JAVA

Directly from this Java Oracle tutorial: Two asterisks, **, works like * but crosses directory boundaries. This syntax is generally used for …

java path nio glob matcher
PHP get file listing including sub directories

I am trying to retrieve all images in a directory, including all subdirectories. I am currently using $images = glob("{images/…

php glob
How to assign a glob expression to a variable in a Bash script?

When the following two lines of code are executed in a bash script, "ls" complains that the files don't exist: …

bash glob
Glob search files in date order?

I have this line of code in my python script. It searches all the files in in a particular directory …

python date search glob
Is there an equivalent of java.util.regex for "glob" type patterns?

Is there a standard (preferably Apache Commons or similarly non-viral) library for doing "glob" type matches in Java? When I …

java glob
Bash extracting file basename from long path

In bash I am trying to glob a list of files from a directory to give as input to a …

bash filenames glob
What expands to all files in current directory recursively?

I know **/*.ext expands to all files in all subdirectories matching *.ext, but what is a similar expansion that includes …

bash shell wildcard glob shopt
Add all files under a folder to a CMake glob?

I've just read this: CMake - Automatically add all files in a folder to a target? With the answer suggesting …

cmake glob build-dependencies
Simple glob in C++ on unix system?

I want to retrieve all the matching paths following this pattern in a vector<string>: "/some/path/img*.…

c++ unix glob
How can I test if a filename matching a pattern exists in Perl?

Can I do something like this in Perl? Meaning pattern match on a file name and check whether it exists. …

perl file match exists glob