Do I understand correctly that there is currently no simple way of restoring the latest revision (or a file from that revision? If so, I would like to suggest this feature. For example smething like this should work:
duplicacy restore -r latest the/file/to/be/restored
Currently, you painfully have to use something like
duplicacy list -id <repo.id>
or
duplicacy list -id <repo.id> -r 100-250
(if you know roughly how many revisions there are) to identify the latest revision and then use
duplicacy restore -r 180 the/file/to/be/restored
Suggestions for the option name
-last
-latest
-r latest (as in revision "latest")
-r -1 (as in revision "-1")