fast_sync_directories
Sync directories between source and target with options for mirroring, updating, or merging files. Choose to delete extra files, preserve newer ones, exclude specific patterns, or preview changes with a dry run.
Instructions
두 디렉토리를 동기화합니다
Input Schema
Name | Required | Description | Default |
---|---|---|---|
delete_extra | No | 대상에만 있는 파일 삭제 | |
dry_run | No | 실제 실행 없이 미리보기 | |
exclude_patterns | No | 제외할 패턴들 | |
preserve_newer | No | 더 새로운 파일 보존 | |
source_dir | Yes | 원본 디렉토리 | |
sync_mode | No | 동기화 모드 | update |
target_dir | Yes | 대상 디렉토리 |
Input Schema (JSON Schema)
{
"properties": {
"delete_extra": {
"default": false,
"description": "대상에만 있는 파일 삭제",
"type": "boolean"
},
"dry_run": {
"default": false,
"description": "실제 실행 없이 미리보기",
"type": "boolean"
},
"exclude_patterns": {
"default": [
".git",
"node_modules",
".DS_Store"
],
"description": "제외할 패턴들",
"items": {
"type": "string"
},
"type": "array"
},
"preserve_newer": {
"default": true,
"description": "더 새로운 파일 보존",
"type": "boolean"
},
"source_dir": {
"description": "원본 디렉토리",
"type": "string"
},
"sync_mode": {
"default": "update",
"description": "동기화 모드",
"enum": [
"mirror",
"update",
"merge"
],
"type": "string"
},
"target_dir": {
"description": "대상 디렉토리",
"type": "string"
}
},
"required": [
"source_dir",
"target_dir"
],
"type": "object"
}