Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Visual file content comparisons with Terminal and MD5' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Visual file content comparisons with Terminal and MD5
Authored by: voisine on Nov 28, '05 10:23:36AM

Alternately you could just run diff on the two directories. Them unix hackers are pretty clever eh?



[ Reply to This | # ]
Visual file content comparisons with Terminal and MD5
Authored by: auricgoldfinger on Nov 28, '05 12:06:05PM

And you can even create a patch for it :)

diff -Naur old_file_or_dir new_file_or_dir > patch



[ Reply to This | # ]
diff
Authored by: sjk on Nov 29, '05 12:50:18PM
I wish diff (and several other Unix utilities) were smarter with traditional Mac-style newline translation, e.g. using a built-in tr '\r' '\n' filter.

[ Reply to This | # ]
backslash hell
Authored by: sjk on Nov 29, '05 12:57:22PM
Add backslashes in front of the 'r' and 'n' characters, like:
tr '\r' '\n'
(if I'm lucky).

[ Reply to This | # ]