clsync-start-rsyncshell.sh 261 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 #!/bin/sh mkdir -m 700 -p testdir/from testdir/to testdir/listdir cat > rules <<EOF -d^[Dd]ont[Ss]ync\$ +*.* EOF sudo $(which clsync) -K example-rsync -l test -M rsyncshell -w2 -p safe -t5 -W ./testdir/from -S ./clsync-synchandler-rsyncshell.sh -R rules $@