I once recovered some pictures I somehow managed to delete both on the camera and on disk , before any backup kicked in, using PhotoRec - CGSecurity. Despite its name it can be used with any data, not just photos. (It should go without saying, but still is worth saying: don’t delete pics on the camera/sd card until they are properly backed up.)
And if you didn’t: Shut the disk that contained the data off (unmount, …) and only ever mount it again read-only.
tks !
I was simply making a shortcut of my Camera folder on my Debian Desktop. I copied (thougt I did) it to gMail online and didn’t wanted that ( the reason why I use syncthing ). So I deleted the Camera Folder from gmail to then realized it was not copied there but " MOVED"… SO deleted my only copy…