emuell / restic-browser

A GUI to browse and restore restic backup repositories.
MIT License
597 stars 16 forks source link

Show hashsums of restorable files #63

Closed nettnikl closed 8 months ago

nettnikl commented 12 months ago

Hi,

i'm sometimes interested in checking the content of a file before starting a lengthy extraction/download process. Is there a way to show hashsums of restorable files in the list similar to Mtime, Atime,...? I'm not sure, but i though the metadata of restic contains some kind of standard hashsum for each file anyways.

emuell commented 11 months ago

The restic ls --json command unfortunately does not include hashes:

See https://github.com/restic/restic/blob/master/doc/075_scripting.rst#node

nettnikl commented 11 months ago

Yes, and even worse: i've tried around yesterday, and i was not able to find a way to easily extract the hashes at all - but maybe there is one i don't know. I'll probably go for a solution where i just pipe it into the sha cli.