# .stignore just doesn't seem to work

**URL:** https://forum.syncthing.net/t/stignore-just-doesnt-seem-to-work/8123
**Category:** Support
**Created:** [August 28, 2016, 6:26pm UTC](https://forum.syncthing.net/t/stignore-just-doesnt-seem-to-work/8123 "2016-08-28T18:26:32Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![xj25vm](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/x/278dde/32.png) [@xj25vm](https://forum.syncthing.net/u/xj25vm)
#### Post date: [August 28, 2016, 6:26pm UTC](https://forum.syncthing.net/t/stignore-just-doesnt-seem-to-work/8123/1 "2016-08-28T18:26:32Z")

</div>

I am trying to stop Syncthing from syncing the LibreOffice configuration dir, which changes all the time and triggers endless syncs - but it just doesn’t seem to work at all. My setup is as follows

1. Two computers - one laptop, one server.
2. Both computers run Slackware Linux.
3. Syncthing version is 14.5
4. The laptop is set as master, so syncing is effectively one way only.
5. The directory configured to sync on the laptop is /home/seb
6. I have added the following as ignores through the web interface on the laptop:

(?d)/.config/libreoffice/

The directory I want to avoid syncing is /home/seb/.config/libreoffice. I have even tried it without the (?d) - syncthing appears to simply ignore it. I have restarted syncthing many times - on both computers. I have read the “Ignoring Files” page of the documentation. What am I doing wrong? Should I have added the ignores on the server instead?

---

<div class="post-metadata">

### Author: ![DrSchnagels](https://forum.syncthing.net/user_avatar/forum.syncthing.net/drschnagels/32/3962_2.png) [@DrSchnagels](https://forum.syncthing.net/u/DrSchnagels)
#### Post date: [August 30, 2016, 6:35am UTC](https://forum.syncthing.net/t/stignore-just-doesnt-seem-to-work/8123/2 "2016-08-30T06:35:28Z")

</div>

try (?d)/.config/libreoffice or /.config/libreoffice

---

<div class="post-metadata">

### Author: ![xj25vm](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/x/278dde/32.png) [@xj25vm](https://forum.syncthing.net/u/xj25vm)
#### Post date: [August 31, 2016, 6:21am UTC](https://forum.syncthing.net/t/stignore-just-doesnt-seem-to-work/8123/3 "2016-08-31T06:21:37Z")

</div>

Thank you. I’ve completely deleted the repository on the server side (the ‘slave’ side), and all the syncthing configs there. I am now in the process of resynching everything to see if it was caused by the fact that I enabled the ignores after everything had already been synced - in the past.

By the way, is my understanding correct that (?d) should only be used for files - not folders?

---

<div class="post-metadata">

### Author: ![DrSchnagels](https://forum.syncthing.net/user_avatar/forum.syncthing.net/drschnagels/32/3962_2.png) [@DrSchnagels](https://forum.syncthing.net/u/DrSchnagels)
#### Post date: [August 31, 2016, 6:45am UTC](https://forum.syncthing.net/t/stignore-just-doesnt-seem-to-work/8123/4 "2016-08-31T06:45:57Z")

</div>

> A pattern beginning with a (?d) prefix enables removal of these files if they are preventing directory deletion. This prefix should be used by any OS generated files which you are happy to be removed.

Better dont use that switch at all.

---

<div class="post-metadata">

### Author: ![xj25vm](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/x/278dde/32.png) [@xj25vm](https://forum.syncthing.net/u/xj25vm)
#### Post date: [August 31, 2016, 7:28am UTC](https://forum.syncthing.net/t/stignore-just-doesnt-seem-to-work/8123/5 "2016-08-31T07:28:52Z")

</div>

OK - I just tried with /.config/libreoffice as well - and just checked. The whole folder and its contents is copied over regardless. The .stignore seems to be just, hmm, ignored! Or at least this particular line

---

<div class="post-metadata">

### Author: ![xj25vm](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/x/278dde/32.png) [@xj25vm](https://forum.syncthing.net/u/xj25vm)
#### Post date: [September 14, 2016, 6:32pm UTC](https://forum.syncthing.net/t/stignore-just-doesnt-seem-to-work/8123/6 "2016-09-14T18:32:05Z")

</div>

OK - after another repository and settings reset at the slave end (non-master folder), it seems that finally the ignore rules are being followed. I can’t really tell what was happening before though - but I’m glad it is working now.

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [October 14, 2016, 6:38pm UTC](https://forum.syncthing.net/t/stignore-just-doesnt-seem-to-work/8123/7 "2016-10-14T18:38:58Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
