Sorry, it seems I was just stupid. This command DOES work:
restic -r test restore latest --target . --include /files/あ.jpg
I didn’t notice because (obviously) it restores to the same folder/file that’s already present in that directory…
And the reason I made this test repository is because I was trying to figure out why a file wouldn’t restore from my remote repository. I now figured that out as well. I somehow used this -
instead of this —
character…
The find command also seems to work:
restic -q -r test find あ.jpg
/files/あ.jpg
However, this doesn’t. Maybe that’s normal?
restic -q -r test find あ
Anyways, I’m happy it wasn’t an issue with restic and thanks for your time!