(?d) example
GitHub-Pull-Request: https://github.com/syncthing/docs/pull/182
This commit is contained in:
committed by
Audrius Butkevicius
parent
899b9fc6c7
commit
8748339201
@@ -89,6 +89,7 @@ Example
|
|||||||
|
|
||||||
Given a directory layout::
|
Given a directory layout::
|
||||||
|
|
||||||
|
.DS_Store
|
||||||
foo
|
foo
|
||||||
foofoo
|
foofoo
|
||||||
bar/
|
bar/
|
||||||
@@ -113,6 +114,7 @@ and an ``.stignore`` file with the contents::
|
|||||||
all files and directories called "foo", ending in a "2" or starting with
|
all files and directories called "foo", ending in a "2" or starting with
|
||||||
"qu" will be ignored. The end result becomes::
|
"qu" will be ignored. The end result becomes::
|
||||||
|
|
||||||
|
(?d).DS_Store # ignored, will be deleted if gets in the way of parent directory removal
|
||||||
foo # ignored, matches "foo"
|
foo # ignored, matches "foo"
|
||||||
foofoo # synced, does not match "foo" but would match "foo*" or "*foo"
|
foofoo # synced, does not match "foo" but would match "foo*" or "*foo"
|
||||||
bar/ # synced
|
bar/ # synced
|
||||||
|
|||||||
Reference in New Issue
Block a user