I can't get diff to ignore file system errors and continue the directory comparison.
I run a diff -r on two very similar directories with broken files in it. How can I get a complete comparison, is there another way, diff exits with an Input/output error
you probably can't stop diff exiting (unless you change & recompile the source), but I'd look into using 'find':
find . -type f -exec diff {} ../other/folder/{} \;
The 'find' command here returns a list of filenames and passes them to 'diff' one at a time for comparison. The path of the current file is represented by {}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With