I'm very happy with testdisk for a long time, since some accidents happens during installs, or other disk management tasks.
My last accident was deleting a disk from win. diskpart with clean command.
When I realized the mistake, try use testdisk again, but this time things was not solved smoothly,
Disk was an external disk, after writing partition ( during recovery ) "you need to reboot to ..." message displayed -as usual -,
Since the disk is external I unmount , unplug it and plug again, and it did not work.
So , I go second way, recover files.
And to complete whole picture, the disk was everyday disk, and I was using another external disk to back it up.
But last backup was around 2020.
I tried to write whole disk ( from file recovery menu ) to that disk ( second disk ),
It started to much time, stalled, etc .. ( by the way size of this is 5TB ), ..
So I started to recover dir by dir. Big dirs was problematic again.
I realized, even if a file on backup disk, it's rewritten for classical use case I assume.
But it was wonderful to check if timestamps of both files are same, and decide not to copy them.
I'm not a C programmer, I know it, used it small projects, read some code but not my every day language.
I downloaded test disk code, find some entry points to follow, I spent around 1-2 hours yet, but
asking for help seemed less time consuming to me,
My question is how can I change file copy process, as described above, not asking a programming question,
as seen in file list, there is timestamps of files, and somehow they are copied.
Could you point me right file -s-, to achieve this.
After that it is possible to create a PR if you agree with this use case .
Best regards.
I'm very happy with testdisk for a long time, since some accidents happens during installs, or other disk management tasks. My last accident was deleting a disk from win. diskpart with clean command. When I realized the mistake, try use testdisk again, but this time things was not solved smoothly, Disk was an external disk, after writing partition ( during recovery ) "you need to reboot to ..." message displayed -as usual -, Since the disk is external I unmount , unplug it and plug again, and it did not work. So , I go second way, recover files. And to complete whole picture, the disk was everyday disk, and I was using another external disk to back it up. But last backup was around 2020. I tried to write whole disk ( from file recovery menu ) to that disk ( second disk ), It started to much time, stalled, etc .. ( by the way size of this is 5TB ), .. So I started to recover dir by dir. Big dirs was problematic again. I realized, even if a file on backup disk, it's rewritten for classical use case I assume. But it was wonderful to check if timestamps of both files are same, and decide not to copy them. I'm not a C programmer, I know it, used it small projects, read some code but not my every day language. I downloaded test disk code, find some entry points to follow, I spent around 1-2 hours yet, but asking for help seemed less time consuming to me, My question is how can I change file copy process, as described above, not asking a programming question, as seen in file list, there is timestamps of files, and somehow they are copied. Could you point me right file -s-, to achieve this. After that it is possible to create a PR if you agree with this use case . Best regards.