• Content Count

  • Joined

  • Last visited

About luckman212

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. a little more... After reading this page again, it seems like maybe there is an API but it is quite hidden and difficult to enable(?). Looks like possibly if the `api_key` value is configured in sync.conf then the API might be enabled. But, there is no sync.conf anymore, just bencoded settings.dat which is protected with salted hash. At this page, there is a link to Python2 script which can decode the encrypted settings.dat fileโ€”but how can this be turned back into a valid settings.dat? Reading this page it looks like it may be possible to run Sync in configuration mode by placing a copy of sync.conf in the Storage Folder(?). But again, how to take a configured settings.dat and convert to plaintext sync.conf format? I am not sure if this is the right path to take to enable the API? Please Help @RomanZ or @Helen ! ๐Ÿ™‚
  2. Coming back 1 year later to this idea ๐Ÿ™‚ Today I again found that one of my folders was no longer syncing - it had a red Exclamation (!) mark and said Database error (link to KB article: I had to Disconnect, manually sync the folders on all peers using rsync, and then re-connect to clear this up. RslSync version was 2.7.1 on all peers. Apparently the sync had been broken for >1 week and I was not aware of it. Some sort of API / alerts / commandline method to query status would have really helped here! Is there any chance this could be coming in the future?
  3. This is great news, and a very nice surprise! Thank you all so much Stay healthy & safe
  4. Can you please post the solution publicly? It would benefit others...........
  5. Now Resilio Connect is at v2.8 -- hope Sync Pro gets a new desktop build soon... still at 2.6.x ๐Ÿ˜ž
  6. Will there be a new release of Sync soon? It's been awhile. Is this still the latest beta version?
  7. I would buy some Resilio swag too!
  8. Pretty quiet around here...too quiet
  9. What type of system(s) are these? Linux, macOS, Windows? Should be pretty easy to periodically run a script that compares the hash of a file to a previously known value and does something when it changes. If your system is Linux you can run the script every minute with cron etc. Here's a bash script I slapped together... you'll need the sha256sum binary, which you can get for just about any platform. See GNU coreutils or if you're on macOS and have Homebrew, `brew install coreutils`. This won't work for Windows but something similar can be done in PowerShell if needed. #!/usr/bin/env bash function calculateHash() { sha256sum "$srcfile" >"$oldhash" return } [ $# == 0 ] && { echo "usage: $0 <filename>"; exit; } srcfile="$1" fName="${srcfile##*/}" oldhash="/tmp/$fName.sha256sum" if [ ! -e "$oldhash" ]; then echo "creating hashfile for $fName" calculateHash exit fi if sha256sum -c --quiet "$oldhash"; then echo "hashes match, taking no action" else echo "file change detected! doing stuff..." # do stuff here # calculateHash fi
  10. I noticed today just by accident that one of my folders was stuck at 100% - sync was not completing for some reason. I had to enable debug mode and found a file that had a weird resource fork for whatever reason was causing the sync to hang. I deleted that file, restarted Sync on both ends and it was green again. So the question is: I would like to know if there is any way to get the sync status via command line / Terminal / bash? I would make a periodic script (cron, LaunchAgent on mac etc) to run and if the sync is not complete then maybe pop a notification, send an alert to Pushover etc. Bonus points if the command could output in an easy to parse format such as JSON. maybe e.g.: $ rslsync --status [foldername] { "status": [ { "name": "folder1", "peer_count": 4, "sync_complete": false, "unsynced_files": 2, "file_count": 4124, "total_bytes": 104230636, "last_change": 1559231815 }, { "name": "folder2", "peer_count": 3, "sync_complete": true, "unsynced_files": 0, "file_count": 192, "total_bytes": 5263463, "last_change": 1559215804 } ] } (In the above example, last_change represents a timestamp in Unix epoch time) I see there is (was?) an API but I am not sure if it's supported anymore and I checked the API docs and don't see any method there to query for sync status anyway. This would be so useful... please
  11. Hey guys I saw Rsl Connect is up to 2.7.x now. So I assume core sync engine is up to 2.7, which is also used by Rsl Sync Home /Pro. Is there going to be an updated client release soon? Thx
  12. Old thread but- what was the eventual solution for this? @kos13 Can IgnoreList function be enhanced to differentiate between files & folders? e.g. "Icon\r" might be safe to ignore as a file, but as a Folder name a user might want to include it... Regex would be very nice as well instead of just simple ? and * wildcards...
  13. Really strange. I guess there was something broken on the global tracker. Can anyone from Resilio comment so we know it wasn't some kind of hack etc? @Helen or @RomanZ ?