restic-browser icon indicating copy to clipboard operation
restic-browser copied to clipboard

Feature request: copy info to clipboard

Open Aare07 opened this issue 1 year ago • 2 comments

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

Aare07 avatar Mar 16 '24 15:03 Aare07

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.

emuell avatar Mar 18 '24 08:03 emuell

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

Aare07 avatar Mar 22 '24 22:03 Aare07