Walk a directory/Recursively: Difference between revisions
Content added Content deleted
(Add zsh) |
m (Forgot to change header) |
||
Line 907: | Line 907: | ||
<lang bash>find . | grep '.*\.txt$'</lang> |
<lang bash>find . | grep '.*\.txt$'</lang> |
||
=={{header| |
=={{header|Zsh}}== |
||
Zsh has recursive globbing. The GLOB_DOTS option allows files beginning with a period to be matched. |
Zsh has recursive globbing. The GLOB_DOTS option allows files beginning with a period to be matched. |
||
<lang zsh>setopt GLOB_DOTS |
<lang zsh>setopt GLOB_DOTS |