How to set sync_trash_ttl on Linux btsync?


BeTheSync

Recommended Posts

Hello,

I have a Synology NAS with btsync 1.1.48 and its working Web-GUI.

How can I set up the "sync_trash_ttl", which I read about in the unofficial FAQ? => How long are files kept in .SyncTrash/.SyncArchive for?

On Windows or Mac its simple, but I did not found an "Advanced"-Prefs in the Settings from the Web-GUI.

Any hint would be nice :-)

Thank You!

BeTheSync!

Link to comment
Share on other sites

I have a Synology NAS with btsync 1.1.48 and its working Web-GUI.

How can I set up the "sync_trash_ttl", which I read about in the unofficial FAQ? => How long are files kept in .SyncTrash/.SyncArchive for?

On Windows or Mac its simple, but I did not found an "Advanced"-Prefs in the Settings from the Web-GUI.

Any hint would be nice :-)

You can add the line:

"sync_trash_ttl" : 30,

...to your config file

Link to comment
Share on other sites

Thank you for pointing this out to me!

The generated configfile looks like the one, I found now, but I wasn't sure, because on the NAS there is also a binary settings.dat file.

So for all synology Users, this is the default config file created by the SynoCommunity

cat /volume1/@appstore/btsync/var/sync.conf

{
"device_name": "YOUR_SERVERNAME",
"storage_path" : "/usr/local/btsync/var",
"pid_file" : "/usr/local/btsync/var/syncapp.pid",
"webui" :
{
"listen" : "0.0.0.0:8888",
"login" : "admin",
"password" : "YOUR_PASSWORD"
}

Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.