dotweave track
로컬 파일이나 디렉터리를 동기화 대상으로 등록해요.
로컬 파일이나 디렉터리를 동기화 대상으로 등록해요.
홈 디렉터리 안에 있는 파일이나 디렉터리를 등록하면, dotweave가 sync 디렉터리에 미러링해요. 이미 추적 중인 대상은 지정한 manifest 필드만 갱신하고 나머지는 유지해요.
Usage
섹션 제목: “Usage”dotweave track <target> [flags]Arguments
섹션 제목: “Arguments”| Argument | Description |
| ---------- | ---------------------------------------- |
| <target> | 추적할 로컬 경로 또는 저장소 경로예요. |
Flags
섹션 제목: “Flags”| Flag | Description |
| -------------------------------- | ---------------------------------------------------------------------------- |
| --kind <file\|directory> | 아직 존재하지 않는 경로를 추적할 때 사용할 대상 종류예요. |
| --repo <path\|platform=path> | 저장소 상대 경로예요. platform별 override도 지정할 수 있어요. |
| --local <platform=path> | platform별 로컬 경로 override예요. |
| --mode <mode\|platform=mode> | sync mode: normal(기본값), secret, ignore 중 하나예요. |
| --permission <octal\|platform=octal> | 복원할 파일 permission이에요(4자리 octal). |
| --profile <profile> | 등록된 특정 profile에서만 동기화해요. 여러 개는 flag를 반복하세요. |
Examples
섹션 제목: “Examples”설정 파일 하나를 추적해요:
dotweave track ~/.config/starship.tomlsecret이 포함된 디렉터리를 추적해요:
dotweave track ~/.ssh --mode secret특정 profile에만 파일을 추적해요:
dotweave track ~/.config/work-proxy.conf --profile work추적 중인 디렉터리 안의 자식 경로에 mode를 재정의해요:
dotweave track .ssh/config --mode ignore저장소 경로와 복원 permission을 지정해요:
dotweave track ~/.ssh/config --repo ssh/config --mode secret --permission 0600