by ehecatl42 · 2y ago · 0 comments
What's hard about `restic -r /media/ehecatl42/t14g3-backup/t14g3-restic-repo restore latest --target /home/ehecatl42/Desktop/nvim-restore/ --include /home/ehecatl42/.config/nvim/`* and just `cp`ing your missing files from that.
* From my recent .bash_history
You could maybe default to latest and default to restoring to ".", but that carries some risks. This is only as complex as necessary.
I understand the command, I'm just questioning the example if they want to do some positive marketing for the tool. Something simple like the following gives the same information but is much more understandable than unnecessarily convoluted directory names.
restic -r /backups/restic restore latest --target /home/dewey --include /home/dewey/myfile.txtI commend his real example "* From my recent .bash_history".
If someone is intimidated by paths in the CLI, the tool isn't for them. Appropriate solutions and their value is relative. Better to be realistic and honest than push people to adopt something they may struggle with.
Besides, this is HN.