emuell / restic-browser

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

Feature request: copy info to clipboard #102

Open Aare07 opened 8 months ago

Aare07 commented 8 months ago

First, thank you for your effort and your excelent work. It would be very convenient when its possible to copy the snapshot Short_id and the Files Path to the clipboard. I use windows and there this is not possible. Wy: I use restic browser to browse the repository and snapshot to find the correct path and file. When there is a big amount of data to restore or i want to rund the restic diff command i need the snapshot Short_id and path.

It would be great when i could copy the cryptic id and long path to clipboard. Greetings Aare

emuell commented 8 months ago

Thanks for the kind words.

This is actually a nice idea and would be easy to implement. I just don't know how to fit it into the GUI. Do you have any ideas?

It could be a button, somewhere, that copies the selected snapshot id and path together. We also never made use of the context menu in the Restic browser. Could hide it there too.

Aare07 commented 8 months ago

My choices where:

  1. The displayed infos from snapshots, filename and path are selectable with the mouse cursor and can copied with CTRL-C (today they were not selectable)
  2. Context menu to copy the info
  3. A button to copy as you described

Greetings