File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,6 +168,7 @@ Examples
168168* ` **/*.go ` : all .go files recursively
169169* ` **/.git* ` : ignore ` .git ` directory
170170* ` **/.git*/** ` : ignore ` .git ` directory content
171+ * ` **/.* ` : ignore all hidden file
171172
172173The below example ignores any file ending with ` .go ` or ` .md ` and anything in the ` .git ` directory,
173174and the directory ` .git ` itself:
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ echo "theext" > "${src}/file.ext"
4343# index
4444# ===================================================
4545title " >>> indexing <<<"
46- " ${bin} " index -a -C -c " ${catalog} " --debug --ignore=' \.+ ' --ignore=' \ .ext' " ${tmpd} /to-index" gocatcli
46+ " ${bin} " index -a -C -c " ${catalog} " --debug --ignore=' **/.* ' --ignore=' **/* .ext' " ${tmpd} /to-index" gocatcli
4747[ ! -e " ${catalog} " ] && echo " catalog not created" && exit 1
4848
4949# ls
You can’t perform that action at this time.
0 commit comments