# wandb sync

**Usage**

`wandb sync [OPTIONS] [PATH]...`

**Summary**

Upload an offline training directory to W\&B

**Options**

| **Option**                                 | **Description**                                                                |
| ------------------------------------------ | ------------------------------------------------------------------------------ |
| --id                                       | The run you want to upload to.                                                 |
| -p, --project                              | The project you want to upload to.                                             |
| -e, --entity                               | The entity to scope to.                                                        |
| --sync-tensorboard / --no-sync-tensorboard | Stream tfevent files to wandb.                                                 |
| --include-globs                            | Comma seperated list of globs to include.                                      |
| --exclude-globs                            | Comma seperated list of globs to exclude.                                      |
| --include-online / --no-include-online     | Include online runs                                                            |
| --include-offline / --no-include-offline   | Include offline runs                                                           |
| --include-synced / --no-include-synced     | Include synced runs                                                            |
| --mark-synced / --no-mark-synced           | Mark runs as synced                                                            |
| --sync-all                                 | Sync all runs                                                                  |
| --clean                                    | Delete synced runs                                                             |
| --clean-old-hours                          | Delete runs created before this many hours. To be used alongside --clean flag. |
| --clean-force                              | Clean without confirmation prompt.                                             |
| --show                                     | Number of runs to show                                                         |
| --help                                     | Show this message and exit.                                                    |
