Hello Jussi, Thanks for reporting this. I think it is a good idea.
Jussi Judin wrote:
This does not protect against cases where you use full path for one file and relative for another or symbolic links but those kind of file name screw-ups are probably harder to do by accident.
Using the check_identical function already used to verify that input and output files are not the same may provide some extra protection if both files already exist. (See main.cc, lines 186-192).
Best regards, Antonio. _______________________________________________ Bug-ddrescue mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-ddrescue
