# Global state different from local state

**URL:** https://forum.syncthing.net/t/global-state-different-from-local-state/11187
**Category:** Support
**Created:** [January 20, 2018, 6:40pm UTC](https://forum.syncthing.net/t/global-state-different-from-local-state/11187 "2018-01-20T18:40:18Z")
**Posts on this page:** 1
**Showing post:** 18

<div class="post-metadata">

### Author: ![brunod](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/b/ee7513/32.png) [@brunod](https://forum.syncthing.net/u/brunod)
#### Post date: [January 22, 2018, 8:48am UTC](https://forum.syncthing.net/t/global-state-different-from-local-state/11187/18 "2018-01-22T08:48:46Z")

</div>

(?i) **!** \*.Pdf do the job but when you try to exclude all rest with a star \*, it cuts the subdirectories too. So you only have the root .pdf. (Spending 2 days with this…) So the target was to design generic subfolder content with something like ` **/*.pdf,** /**/*.pdf,` but I didn’t succeed. So I had to list all directories in the exclude file. Inspired from : (searching source). Edit : found [un-ignore subfolders & files of ignored folder](https://forum.syncthing.net/t/un-ignore-subfolders-files-of-ignored-folder/1460/12?u=brunod)

---

_[View the full topic](https://forum.syncthing.net/t/global-state-different-from-local-state/11187)._
