casync icon indicating copy to clipboard operation
casync copied to clipboard

Listing an index file requires the store

Open remram44 opened this issue 2 years ago • 0 comments

After reading the documentation, I was surprised that listing the contents of a .caidx is not possible without accessing the corresponding store. I had assumed that it contained the list of file names and that casync only needed to read from the .castr to get file content.

$ casync list 20211118-00-c991bcaf.caidx 
Failed to run synchronizer: No such file or directory
$ casync list --store=https://.../default.castr 20211118-00-c991bcaf.caidx
drwxr-xr-x dir
...

This is a real problem when the content is remote. I downloaded the .caidx file and thought I could use it to figure out what to download from the remote store, however list operations take minutes.

remram44 avatar Apr 29 '22 15:04 remram44