> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# wandb clean

[View source](https://github.com/wandb/wandb/blob/v0.31.0/wandb/cli/clean.py#L20)

## 사용

```bash theme={"system"}
clean [OPTIONS]
```

## 설명

동기화된 run 데이터를 제거합니다.

설정에 따라 확인된 wandb 폴더를 정리합니다. 일반적으로 이 폴더는
현재 작업 디렉터리의 "wandb" 또는 ".wandb" 폴더이며, WANDB\_DIR 환경 변수가
설정되어 있으면 해당 변수에 지정된 디렉터리의 폴더입니다.

기본적으로 이 명령은 생성된 지 24시간이 지난 run(run 폴더 이름의 타임스탬프
기준) 중에서 온라인 run이거나 `wandb sync`로
동기화된 run을 모두 제거합니다.

## 옵션

| 플래그 | 유형 | 설명 |
| - | - | - |
| `--min-hours` | INT | 삭제할 run의 최소 경과 시간(시간 단위, 기본값 24). **기본값**: 24 |
| `--include-unsynced` | BOOL 플래그 | 동기화되지 않은 run 디렉터리도 삭제합니다. **기본값**: False |
| `--force` | BOOL 플래그 | 확인 메시지를 건너뜁니다. **기본값**: False |
