mirror of
https://github.com/gilbertchen/duplicacy
synced 2026-01-04 09:33:28 +00:00
Wiki was moved to forum.duplicacy.com
23
diff.md
23
diff.md
@@ -1,22 +1,3 @@
|
||||
```
|
||||
SYNOPSIS:
|
||||
duplicacy diff - Compare two snapshots or two revisions of a file
|
||||
The wiki has moved to a new home on the [Duplicacy Forum](https://forum.duplicacy.com).
|
||||
|
||||
USAGE:
|
||||
duplicacy diff [command options] [<file>]
|
||||
|
||||
OPTIONS:
|
||||
-id <snapshot id> diff with the snapshot with the specified id
|
||||
-r <revision> [+] the revision number of the snapshot
|
||||
-hash compute the hashes of on-disk files
|
||||
-storage <storage name> retrieve files from the specified storage
|
||||
```
|
||||
The *diff* command compares the same file in two different snapshots if a file is given, otherwise compares the two snapshots.
|
||||
|
||||
The file must be specified with a path relative to the repository.
|
||||
|
||||
You can specify a different snapshot id rather than the default snapshot id.
|
||||
|
||||
If only one revision is given by `-r`, the right hand side of the comparison will be the on-disk file. The `-hash` option can then instruct this command to compute the hash of the file.
|
||||
|
||||
You can use the `-storage` option to select a different storage other than the default one.
|
||||
Your page is available at: https://forum.duplicacy.com/t/diff-command-details/1084
|
||||
Reference in New Issue
Block a user