Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bsync daemon #43

Open
segator opened this issue Mar 5, 2020 · 2 comments
Open

bsync daemon #43

segator opened this issue Mar 5, 2020 · 2 comments

Comments

@segator
Copy link

segator commented Mar 5, 2020

it will be nice to have bsync as a daemon and then using rest api to fix conflits and use FS notify to auto detect changes and sync files almost after file is just closed.

@0x4007
Copy link

0x4007 commented Apr 14, 2020

I've been trying to get a Dropbox replacement for managing client servers. fswatch is handy, check out this script:

#!/bin/bash
alias live_rsync='rsync -azP --exclude ".DS_Store" --exclude "Icon*" --exclude "node_modules" --exclude ".vscode" ~/Sync/from_folder server@255.255.255.255:~'
fswatch -o . | while read f; do $live_rsync; done
  1. make an alias of the rsync command
  2. fswatch the directory and while loop through changes.
  3. do $live_rsync

works well except for when I create a new folder and/or move files it just makes copies all over the place.

@dooblem
Copy link
Owner

dooblem commented Apr 20, 2020

hello @segator

This will be a huge improvement to add.

Note that there are already existing tools to handle bi-directionnal sync in almost real time :

bsync is more intended to handle low frequency sync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants