# exclude

Add an exclude pattern to file transfer.

## Signature

```rhai
file_transfer.exclude(pattern: String) -> FileTransferBuilder
```

## Parameters

- `pattern` - Pattern to exclude (e.g., "*.log", ".git")

## Description

Files matching the pattern will not be transferred. Can be called multiple times to add multiple patterns.

## Example

```rhai
let conn = ssh_builder()
    .host("example.com")
    .user("ubuntu")
    .build();

// Transfer excluding logs and git directory
let result = conn.file_transfer()
    .exclude("*.log")
    .exclude(".git")
    .exclude("node_modules")
    .push("/local/project", "/remote/project");
```
