Displaying 1 result from an estimated 1 matches for "syncedfil".
Did you mean:
syncedfiles
2005 Oct 30
2
rsync when working on both sides...
..., E deleted
Desired result after invoking rsync:
- host1 and host2 have files C,E removed and A,B,D updated
Is there an rsync switch supporting this?
As I have not found such a switch I'm using the script at the end of
this mail - which seems to work fine (provided that the created file
'syncedfiles.local' is available).
Any obvious problems?
Best regards,
Christian Schneider
-- skript following --
#!/bin/bash
NAME=username
DIR=/home
REMOTE=username@host::home
echo "*** delete files at remote side that were deleted locally (since
last find) ***"
#ATTENTION: this deletes ev...