# Is it possible to sync metadata like file description between the nodes?

**URL:** https://forum.syncthing.net/t/is-it-possible-to-sync-metadata-like-file-description-between-the-nodes/682
**Category:** Feature
**Created:** [August 12, 2014, 2:49pm UTC](https://forum.syncthing.net/t/is-it-possible-to-sync-metadata-like-file-description-between-the-nodes/682 "2014-08-12T14:49:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jacyzon](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/j/b5e925/32.png) [@jacyzon](https://forum.syncthing.net/u/jacyzon)
#### Post date: [August 12, 2014, 2:49pm UTC](https://forum.syncthing.net/t/is-it-possible-to-sync-metadata-like-file-description-between-the-nodes/682/1 "2014-08-12T14:49:37Z")

</div>

Hi, I recently build a simple RESTful web service which can upload a photo with a description that created by user and I’m thinking if it is possiple to sync those photos and also with some metadata like aforementioned photo description.

Here is a diagram from dropbox page [https://www.dropbox.com/help/1968](https://www.dropbox.com/help/1968). I think the left hand side system performs like Syncthing and the right hand side is probably what I’m looking for, but if those are uncorrelated system how can I ensure that the metadata server knows these metadata (like file path) are update to date? Or maybe it needs to do some integreation with index (leveldb) in order to reach the goal?

![](https://forum.syncthing.net/uploads/default/285/f37fdbe5ef9989c5.png)

Another question is processing thumbnail and also related with metaserver. Does syncthing provide some sort of callback or event or post-commit hook (like git) while file uploded or changed so that can do some post processing?

The solution what I came into my head is providing some interface that can shared by some message queue system like RabbitMQ or ActiveMQ etc.

Thank you.

---

<div class="post-metadata">

### Author: ![jpjp](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/j/51bf81/32.png) [@jpjp](https://forum.syncthing.net/u/jpjp)
#### Post date: [August 13, 2014, 8:33am UTC](https://forum.syncthing.net/t/is-it-possible-to-sync-metadata-like-file-description-between-the-nodes/682/2 "2014-08-13T08:33:01Z")

</div>

Link to event based stuff until @calmh is here: [https://forum.syncthing.net/t/event-interface/47](https://forum.syncthing.net/t/event-interface/47)

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [August 13, 2014, 1:04pm UTC](https://forum.syncthing.net/t/is-it-possible-to-sync-metadata-like-file-description-between-the-nodes/682/3 "2014-08-13T13:04:17Z")

</div>

I’m not 100% sure, but this sounds like a request for attaching random metadata to files, and having that synced somehow? I’d suggest putting the metadata in the filesystem instead, ie. in `photo.jpg.meta.xml` for the photo `photo.jpg` and similar.

As for hooks, no, but the event interface linked above does expose what’s happening, so you could listen on that and act appropriately.

---

<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: [May 12, 2017, 1:18pm UTC](https://forum.syncthing.net/t/is-it-possible-to-sync-metadata-like-file-description-between-the-nodes/682/4 "2017-05-12T13:18:41Z")

</div>


