fast_sync_directories
Synchronize two directories by mirroring, updating, or merging. Control file deletion, preserve newer files, preview changes with dry run, and exclude patterns like .git or node_modules.
Instructions
Synchronizes two directories
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_dir | Yes | Source directory | |
| target_dir | Yes | Target directory | |
| sync_mode | No | Synchronization mode | update |
| delete_extra | No | Delete files that only exist in the target | |
| preserve_newer | No | Preserve newer files | |
| dry_run | No | Preview without actual execution | |
| exclude_patterns | No | Patterns to exclude |