Home Guides Protocol Install Awesome Hacks
Guides › Hyp CLI › Commands › hyp drive diff

hyp drive diff

Compare two folders in your local filesystem or in hyperdrives. Can optionally "commit" the difference.

hyp drive diff {source_path_or_url} {target_path_or_url}

Options:

  • -c/--commit - Write the differences to the target location.
  • --no-add - Don't include additions to the target location.
  • --no-overwrite - Don't include overwrites to the target location.
  • --no-delete - Don't include deletions to the target location.

Examples:

hyp drive diff hyper://1234…af/ ./local-folder
hyp drive diff ./local-folder hyper://1234…af/remote-folder --no-delete
hyp drive diff hyper://1234…af/ hyper://fedc…21/ --commit