I would like to use pathlib to recursively iterate over all files of a given path, except those which are hidden or are in hidden directories. E.g., from
|
|- a.txt
|- .b.txt
|- a/
| |- c.txt
| |- .d.txt
| +- c/
| +- e.txt
|- .b/
+- f.txt
I would like to get
a.txt
a/c.txt
a/c/e.txt
Any hints?