Skip to main content
Downloads a workspace snapshot and extracts it to your current directory, overwriting existing files.

Synopsis

catty sync <label> [options]

Arguments

ArgumentDescription
labelSession label (e.g., brave-tiger-1234)

Options

OptionDescription
--dry-runShow what would be synced without making changes

Examples

# Preview what would be synced
catty sync brave-tiger-1234 --dry-run

# Sync to current directory
catty sync brave-tiger-1234

Difference from Download

CommandBehavior
catty downloadCreates a new directory with the workspace
catty syncOverwrites files in current directory
Use download for backups. Use sync to update your working directory.
catty sync overwrites local files with remote versions. Always use --dry-run first to preview changes.

When to Use

  • Pull changes made while you were disconnected
  • Recover files if sync-back was disabled
  • Update local directory after reconnecting from different location

See Also