YOUR AD GOES HERE

Using Extended Globbing for Patterns in Bash

Published 18, Mar 2025

Nick Janetakis


Description:
This could be handy for listing all files except for 1 or 2 of them. We'll cover a few use cases.

Hit the subscribe button to receive more videos like this!

REFERENCE LINKS
---------------------------------------------------
► https://nickjanetakis.com/blog/using-extended-globbing-for-patterns-in-bash
► https://linux.die.net/man/1/bash
► https://stackoverflow.com/a/17191796

COURSES
---------------------------------------------------
Courses I've created that focus on web dev and deployment topics.

► https://nickjanetakis.com/courses

THE TOOLS I USE / GEAR
---------------------------------------------------
► https://nickjanetakis.com/blog/the-tools-i-use

FOLLOW ME ELSEWHERE
---------------------------------------------------
► Twitter: https://twitter.com/nickjanetakis
► GitHub: https://github.com/nickjj

TIMESTAMPS
---------------------------------------------------
0:00 -- Intro
0:00 -- Default patterns
1:35 -- All files except
1:53 -- Enabling extglob
2:51 -- Showing how it works
3:56 -- Checking shopt options
5:00 -- A specific use case
6:25 -- Edge case in a script
8:42 -- Toggling it in a script

Releted More Videos

  • Sorry!!! Nothing to show

You May Also Like

YOUR AD GOES HERE

YOUR AD GOES HERE