Skip to content

Commit 9e5efea

Browse files
committed
rsync: exclude default partialdir
1 parent 1f0ecd9 commit 9e5efea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scan/rsync.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (r *RsyncScanner) Scan(rsyncURL, identifier string, conn redis.Conn, stop c
5656
// Don't use the local timezone, use UTC
5757
env = append(env, "TZ=UTC")
5858

59-
cmd := exec.Command("rsync", "-r", "--no-motd", "--timeout=30", "--contimeout=30", u.String())
59+
cmd := exec.Command("rsync", "-r", "--no-motd", "--timeout=30", "--contimeout=30", "--exclude=.~tmp~/", u.String())
6060

6161
// Setup the environnement
6262
cmd.Env = env

0 commit comments

Comments
 (0)