# How to change the path location of the .stignore file

**URL:** https://forum.syncthing.net/t/how-to-change-the-path-location-of-the-stignore-file/18534
**Category:** Support
**Created:** [June 3, 2022, 3:54am UTC](https://forum.syncthing.net/t/how-to-change-the-path-location-of-the-stignore-file/18534 "2022-06-03T03:54:10Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![shumintao](https://forum.syncthing.net/user_avatar/forum.syncthing.net/shumintao/32/11756_2.png) [@shumintao](https://forum.syncthing.net/u/shumintao)
#### Post date: [June 3, 2022, 3:54am UTC](https://forum.syncthing.net/t/how-to-change-the-path-location-of-the-stignore-file/18534/1 "2022-06-03T03:54:10Z")

</div>

For example, the default is /Users/taoshumin\_vendor/Sync/.stignore now, I want to change the path to /Users/taoshumin\_vendor/tmp/Sync/.stignore, can you tell me how to change the location of the file path?

 ![image](https://forum-uploads.syncthingcdn.net/original/2X/c/c139a73241dbe1e548854269ef48c4e123d10e7c.png)

---

<div class="post-metadata">

### Author: ![tomasz86](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@tomasz86](https://forum.syncthing.net/u/tomasz86)
#### Post date: [June 3, 2022, 3:56am UTC](https://forum.syncthing.net/t/how-to-change-the-path-location-of-the-stignore-file/18534/2 "2022-06-03T03:56:21Z")

</div>

Unfortunately, you can’t do it (see [https://github.com/syncthing/syncthing/issues/7836](https://github.com/syncthing/syncthing/issues/7836)). You can use `#include` to load patterns from a different file (see [https://docs.syncthing.net/users/ignoring.html](https://docs.syncthing.net/users/ignoring.html)), but `.stignore` itself needs to be present in the folder root.

---

<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: [July 3, 2022, 3:57am UTC](https://forum.syncthing.net/t/how-to-change-the-path-location-of-the-stignore-file/18534/3 "2022-07-03T03:57:16Z")

</div>

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