docs: more patterns help

This commit is contained in:
decentral1se 2022-02-04 12:14:47 +01:00
parent a9cf8164f2
commit d875721d20
No known key found for this signature in database
GPG Key ID: 03789458B3D0C410

View File

@ -39,10 +39,10 @@ chmod +x distribusi
./distribusi -p <path> -s
```
If you want to ignore certain paths, you can use `-i/--ignore`:
If you want to ignore certain paths, you can use `-i/--ignore` (comma separated list, wildcards supported, more [here] for supported patterns):
```
./distribusi -p <path> -s -i '*.gif'
./distribusi -p <path> -s -i '*.gif, *.md, mydir'
```
If you run into issues, run with `-d/--debug` to see what is happening under the hood.
@ -57,3 +57,4 @@ You'll need [Go] >= 1.11 installed. Run `go build .` to build a new `./distribus
[exiftool]: https://exiftool.org/
[report issues]: https://git.vvvvvvaria.org/decentral1se/distribusi-go/issues/new/choose
[open a ticket]: https://git.vvvvvvaria.org/decentral1se/distribusi-go/issues/new/choose
[here]: https://pkg.go.dev/path/filepath#Match