From 8748339201835d4ca6fc38577d5eb07795a95542 Mon Sep 17 00:00:00 2001 From: uglygus Date: Fri, 3 Jun 2016 11:07:17 +0000 Subject: [PATCH] (?d) example GitHub-Pull-Request: https://github.com/syncthing/docs/pull/182 --- users/ignoring.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/users/ignoring.rst b/users/ignoring.rst index 245d6bd0a..1558a1e24 100644 --- a/users/ignoring.rst +++ b/users/ignoring.rst @@ -89,6 +89,7 @@ Example Given a directory layout:: + .DS_Store foo foofoo 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 "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" foofoo # synced, does not match "foo" but would match "foo*" or "*foo" bar/ # synced