2023-11-15 11:22:37 +01:00

8 lines
408 B
Bash

#!/bin/bash
shopt -s dotglob # With this set, the glob matches hidden files (".*") by default,
# but not the . or .. links.
shopt -s globstar # If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
shopt -s extglob # Enable additional globs. Resulting in what is effectively a Regex
# language builtin to Bash.