理解glob-based paths

  • Overview

    From Elastic, some options accept only glob-based paths.

  • glob

    Glob patterns specify sets of filenames with wildcard characters.

    The Unix bash shell command mv *.txt textfile means moving all files with names ending in .txt. Here *.txt is a glob pattern.

    The glob command, short for global, originates in the earliest versions of Bell Labs’ Unix.

    Traditionally, globs do net match hidden files in the form of Unix dotfiles, to match them the pattern must explicitly start with ..

  • wildcard charaters

    A wildcard character is a kind of placeholder represented by a single character, which can be interpreted as a number of literal charaters or an empty string.

  • dotfile

    A hidden folder or hidden file is a folder or file which filesystem utilities do not display by default when showing a directory listing.

猜你喜欢

转载自blog.csdn.net/The_Time_Runner/article/details/111710630