diff --git a/scan/rsync.go b/scan/rsync.go index b4f53c97..85ac57f2 100644 --- a/scan/rsync.go +++ b/scan/rsync.go @@ -56,7 +56,7 @@ func (r *RsyncScanner) Scan(rsyncURL, identifier string, conn redis.Conn, stop c // Don't use the local timezone, use UTC env = append(env, "TZ=UTC") - cmd := exec.Command("rsync", "-r", "--no-motd", "--timeout=30", "--contimeout=30", u.String()) + cmd := exec.Command("rsync", "-r", "--no-motd", "--timeout=30", "--contimeout=30", "--exclude=.~tmp~/", u.String()) // Setup the environnement cmd.Env = env