support for deletion

15 views
Skip to first unread message

Victor

unread,
Sep 1, 2011, 2:21:43 PM9/1/11
to project-lipsync
Hey,
I'm wondering about how deleting a file is treated, as your graph
doesn't show that situation. Say client A, B and the server share a
common file "foo.txt", and one of the client deletes it. How is that
propagated to the server, and to B ?
As I was puzzled, I pried into the files and - pardon my bash
understanding which is quite below average - I saw this:

rsync -rav --stats --log-file=/home/$USER_NAME/.lipsyncd/lipsyncd.log -
e "ssh -l $USER_NAME -p $SSH_PORT" --delete $REMOTE_HOST:$LOCAL_DIR
$REMOTE_DIR

Apparently this is the line that fetches the new data from the server.
Is this "--delete" switch normal? Isn't it gonna suppress files that
would have been added recently by the client?

Conversely, how, if you delete a file, will you propagate that
deletion to the server?

Thanks a lot :)
Victor.
Reply all
Reply to author
Forward
0 new messages