how to run recursively diff command for comparing files of file size more than 2GB in solaris?

link|improve this question

56% accept rate
What do you want to do recursively ? – Iain Dec 4 '10 at 19:58
feedback

1 Answer

up vote 1 down vote accepted

In Solaris diff is largefile safe but not largefile aware so it can't handle files >2Gb. Solaris has the bdiff command that may help you.

link|improve this answer
1  
You can also just use GNU diff, which is already installed as gdiff on many Solaris systems. – alanc Dec 4 '10 at 21:36
@alanc: OpenSolaris has gdiff but I don't think Solaris does by default. – Iain Dec 4 '10 at 22:06
GNU diff does come on the Solaris 10 companion disk. It's under /opt/sfw/bin/gdiff which may not be in your search path. – JOTN Dec 8 '10 at 1:43
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.