From ffba9d3c9b020bbba89a6343d4adc74b947f204e Mon Sep 17 00:00:00 2001 From: "E. Keys" Date: Sun, 22 Nov 2020 13:27:28 -0500 Subject: [PATCH] Update link documentation for glob Added section in README under _Link_ to highlight the limitation of python `glob()` not matching files that being with '.'. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index ae7e570..96bba87 100644 --- a/README.md +++ b/README.md @@ -236,6 +236,13 @@ Implicit sources: relink: true ``` +#### Limitations of `glob` + +Dotbot uses [glob()](https://docs.python.org/3.9/library/glob.html) to resolve +glob paths. However, due to its design, using a glob path such as `config/*` for +example, will not match items that being with `.`. To specifically capture +items that being with `.`, you will need to use a path like this: `config/.*`. + ### Create Create commands specify empty directories to be created. This can be useful