# rsync

Sync directories using rsync.

```rhai
rsync(src: &str, dest: &str) -> String
```

## Examples

```rhai
rsync("/home/user/data", "/backup/data")?;
```

```rhai
rsync("/var/www/site", "/mnt/backup/site")?;
print("Backup complete");
```
