clsync-start-simple.sh 198 B

123456789101112
  1. #!/bin/sh
  2. mkdir -m 700 -p testdir/from
  3. cat > rules <<EOF
  4. -d^[Dd]ont[Ss]ync\$
  5. +*.*
  6. EOF
  7. sudo "$(which clsync)" -K example-simple -M simple -w2 -t5 -W ./testdir/from -S "$(which echo)" -R rules $@