Skip to content

Commit

Permalink
skip all log in appdata
Browse files Browse the repository at this point in the history
  • Loading branch information
Son Roy Almerol committed Nov 12, 2024
1 parent 63db6a8 commit ee21504
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/agent/sftp/filelister.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ func skipFile(path string, fileInfo os.FileInfo) bool {
`C:\Users\*\AppData\Roaming\Zoom\data`,
`C:\Users\*\AppData\Roaming\Zoom\logs`,
`C:\Users\*\AppData\Local\BraveSoftware`,
`C:\Users\*\AppData\**log`,
}

normalizedPath := strings.TrimPrefix(path, "C:\\Windows\\TEMP\\pbs-plus-vss\\")
Expand Down

0 comments on commit ee21504

Please sign in to comment.