i accidentially saved a edited photo and now the original photo is gone and i am wondering if it is possible to recover the lost photo.
I already searched the trash but havent found it there.
install the package testdisk and run
➜ ~ photorec -h PhotoRec 7.1, Data Recovery Utility, July 2019 Christophe GRENIER <email@example.com> https://www.cgsecurity.org Usage: photorec [/log] [/debug] [/d recup_dir] [file.dd|file.e01|device] photorec /version /log : create a photorec.log file /debug : add debug information PhotoRec searches for various file formats (JPEG, Office...). It stores files in the recup_dir directory.