Comparing Files and Directories

Source Insight can compare two files and show differences. It can also compare two different directories.

Comparing Files

The Tools > Compare File command compares two files to show differences within the files. It shows two files side by side and highlights the differences. This is a fancy version of the diff command. See: Compare Files. See: File Compare.

The Tools > Compare with Backup File command compares the current file with a backup version of the same file. See: Compare with Backup File.

inset_48.jpg

 

Figure 3.15  The File Compare window panel showing a file being compared to an earlier backup version of the file.

Comparing Directories

The Tools > Directory Compare command compares two file directories to show what files are different between them. See: Directory Compare.

inset_49.jpg

 

Figure 3.16  The Directory Compare window panel.