This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 270
Globbing hidden files #12
Comments
exclude . & .. |
What is $ ls -a
. .. .hidden visible
$ echo * .*
visible . .. .hidden
$ echo * .[^.]*
visible .hidden |
Oh, I see: $ ls -a
. .. ..doubledot .hidden visible
$ echo * .*
visible . .. ..doubledot .hidden
$ echo * .[^.]* ..?*
visible .hidden ..doubledot |
@dylanaraps Is this worth adding to the book somewhere? Either as a note in 'Count files or directories in directory' or a section dedicated to globbing tricks? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Examples that use globbing such as Count files or directories in directory don't take into account files starting with a dot.
The text was updated successfully, but these errors were encountered: