Victor
unread,Sep 1, 2011, 2:21:43 PM9/1/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.