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.

regular expression usage in glob.glob for python

import glob list = glob.glob(r'*abc*.txt') + glob.glob(r'*123*.txt') + glob.glob(r'*a1b*.txt') for i …

python glob
List files not matching a pattern?

Here's how one might list all files matching a pattern in bash: ls *.jar How to list the complement of …

bash wildcard glob ls
How to install the 'glob' module?

I am running ubuntu 14.04 and trying to launch ROS Simulator. I have this error: ImportError: No module named 'glob' Installing …

python glob ros
php glob - scan in subfolders for a file

I have a server with a lot of files inside various folders, sub-folders, and sub-sub-folders. I'm trying to make a …

php file search glob
Why does gulp.src not like being passed an array of complete paths to files?

I'm attempting to pass gulp.src an array of files that I want it to deal with. This is the …

arrays node.js glob gulp
Test whether a glob has any matches in bash

If I want to check for the existence of a single file, I can test for it using test -e …

bash glob
python copy files by wildcards

I am learning python (python 3) and I can copy 1 file to a new directory by doing this import shutil shutil.…

python file copy glob shutil
Glob matching, exclude all JS files

I'm a new user to gulp.js. I'd like to move all of my non-javascript files to a build directory. …

node.js pattern-matching glob gulp
grunt (minimatch/glob) folder exclusion

I have a situation where I'm trying to use grunt to lint a codebase, excluding specific folders. grunt uses minimatch (…

javascript regex node.js glob gruntjs
What do double-asterisk wildcards mean?

I've tried the following command but I am having trouble interpreting it: ls ** but I'm not sure exactly what it …

unix wildcard glob shopt