Search:

Type: Posts; User: sisco311; Keyword(s):

Search: Search took 0.27 seconds.

  1. Replies
    4
    Views
    1,373

    [all variants] Re: Universal Recursive wildcard

    As far as I know, in bash, you have to enable both globstar and dotglob to be able to match any file recursively with a single pattern:

    shopt -s globstar dotglob
    echo **/*

    See:

    man bash |...
  2. Replies
    4
    Views
    1,373

    [all variants] Re: Universal Recursive wildcard

    If the dotglob option is enabled, then * matches any file exept the hard
    links to the current and parent directories (. and ..):


    shopt -s dotglob
    echo *
    shopt -u dotglob
Results 1 to 2 of 2