# Feature request: sync on file change

**URL:** https://forum.syncthing.net/t/feature-request-sync-on-file-change/2622
**Category:** Feature
**Created:** [May 4, 2015, 1:47pm UTC](https://forum.syncthing.net/t/feature-request-sync-on-file-change/2622 "2015-05-04T13:47:00Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Zane](https://forum.syncthing.net/user_avatar/forum.syncthing.net/zane/32/1269_2.png) [@Zane](https://forum.syncthing.net/u/Zane)
#### Post date: [May 4, 2015, 1:47pm UTC](https://forum.syncthing.net/t/feature-request-sync-on-file-change/2622/1 "2015-05-04T13:47:00Z")

</div>

Hi guys, I’m moving form BTS to Syncthing and so far there is only one feature aI’m really missing: the ability to sync files as soon as something changed.

Right now I’m using 1 sec interval, but still is not as good as native filesystem-driven event and I really fear that something can get corrupted if one check fires before the last one completed…

Thanks!

---

<div class="post-metadata">

### Author: ![bigbear2nd](https://forum.syncthing.net/user_avatar/forum.syncthing.net/bigbear2nd/32/4525_2.png) [@bigbear2nd](https://forum.syncthing.net/u/bigbear2nd)
#### Post date: [May 4, 2015, 1:48pm UTC](https://forum.syncthing.net/t/feature-request-sync-on-file-change/2622/2 "2015-05-04T13:48:49Z")

</div>

Hi Welcome to the forums!

What OS are you on? You could try: Syncthing-gtk, it has inotify support:

> [@Syncthing-gtk - GUI for syncthing - now with inotify support](https://forum.syncthing.net/t/syncthing-gtk-gui-for-syncthing-now-with-inotify-support/709):
>
> I made small GUI wrapper for Syncthing. It can do everything what WebUI can do and few (well, two so far) things that I thought may be useful. Screenshots: [[img]/uploads/default/295/a0d6fcad53fb33d5.png[/img]](http://i.imgur.com/eX250tQ.png) &nbsp; [[img]/uploads/default/296/44b56377da964b8a.png[/img]](http://i.imgur.com/RTRgRdC.png) &nbsp; [[img]/uploads/default/297/7037133a71ff47b9.png[/img]](http://i.imgur.com/5swe82V.png) Ubuntu | Everywhere else | Tray icon & menu Features Everything what WebUI can display, add, delete or edit Running Syncthing daemon in background (as [SyncthingTray](https://forum.syncthing.net/t/syncthingtray-for-windows/586) does) Tra…

---

<div class="post-metadata">

### Author: ![Zane](https://forum.syncthing.net/user_avatar/forum.syncthing.net/zane/32/1269_2.png) [@Zane](https://forum.syncthing.net/u/Zane)
#### Post date: [May 4, 2015, 1:52pm UTC](https://forum.syncthing.net/t/feature-request-sync-on-file-change/2622/3 "2015-05-04T13:52:49Z")

</div>

Hi, thanks for your reply!

I’ve a headless CentOS (no GUI) one one side and Windows on my own system. Will your tool work on Windows?

---

<div class="post-metadata">

### Author: ![bigbear2nd](https://forum.syncthing.net/user_avatar/forum.syncthing.net/bigbear2nd/32/4525_2.png) [@bigbear2nd](https://forum.syncthing.net/u/bigbear2nd)
#### Post date: [May 4, 2015, 2:28pm UTC](https://forum.syncthing.net/t/feature-request-sync-on-file-change/2622/4 "2015-05-04T14:28:32Z")

</div>

> [@Zane](#):
>
> headless CentOS (no GUI)

Maybe this might work for you: [GitHub - syncthing/syncthing-inotify: File watcher intended for use with Syncthing (Linux, BSD, Windows, OSX)](https://github.com/syncthing/syncthing-inotify)

for inotify, there are some file limits, maybe you can see here: [Help with inotify](https://forum.syncthing.net/t/help-with-inotify/2030)

> [@Zane](#):
>
> Will your tool work on Windows?

Syncthing-gtk will work on windows, too.

An windows-only alternative is [SyncTrayzor](https://forum.syncthing.net/t/synctrayzor-windows-host-for-syncthing-installer-auto-start-built-in-browser-tray-icon-folder-watcher-and-more/2011).

---

<div class="post-metadata">

### Author: ![Zane](https://forum.syncthing.net/user_avatar/forum.syncthing.net/zane/32/1269_2.png) [@Zane](https://forum.syncthing.net/u/Zane)
#### Post date: [May 4, 2015, 4:20pm UTC](https://forum.syncthing.net/t/feature-request-sync-on-file-change/2622/5 "2015-05-04T16:20:20Z")

</div>

Those both look promising, thanks! I’ll give them a spin soon!

---

<div class="post-metadata">

### Author: ![marcelpaulo](https://forum.syncthing.net/user_avatar/forum.syncthing.net/marcelpaulo/32/991_2.png) [@marcelpaulo](https://forum.syncthing.net/u/marcelpaulo)
#### Post date: [May 4, 2015, 5:44pm UTC](https://forum.syncthing.net/t/feature-request-sync-on-file-change/2622/6 "2015-05-04T17:44:32Z")

</div>

@Zane, I have used both setups:

1. syncthing + syncthing-gtk
2. syncthing + syncthing-inotify

They both work fine, and both provide what you’re asking, because they use inotify. The syncthing-android client also uses inotify.

I’m currently playing with (2).

---

<div class="post-metadata">

### Author: ![in\_experienced](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/i/a88e4f/32.png) [@in\_experienced](https://forum.syncthing.net/u/in_experienced)
#### Post date: [February 23, 2016, 5:24pm UTC](https://forum.syncthing.net/t/feature-request-sync-on-file-change/2622/7 "2016-02-23T17:24:53Z")

</div>

Congratulations for SyncThing. It has gone a long, really long way since I last checked it.

It is a pity that SyncThing does not support natively event driven file system change notifications instead of just (the much more resource expensive) pulling requests… at least under the windows platforms.

I expect there might be some good reasons for this. I also expect that this missing feature request may soon be added in the top priority list of future releases.

I tried SyncTrayzor, but it seems it is not possible to run this program as a system service under a restricted account and have the front end communicate with it under a regular windows user account.

I also hope the SyncTrayzor feature of setting the SyncThing process priority will soon be added to the main SyncThing program.

Overall, adding both of the above features will make possible to run SyncThing on older PC hardware as dedicated boxes.

---

<div class="post-metadata">

### Author: ![canton7](https://forum.syncthing.net/user_avatar/forum.syncthing.net/canton7/32/9528_2.png) [@canton7](https://forum.syncthing.net/u/canton7)
#### Post date: [February 23, 2016, 6:52pm UTC](https://forum.syncthing.net/t/feature-request-sync-on-file-change/2622/8 "2016-02-23T18:52:22Z")

</div>

syncthing-inotify works fine on Windows, I think?

There is a GitHub issue to merge inotify support into Syncthing natively.
