DIFFzilla®

path for Path 2 only.

4.In the Diff type, select Symbols and click OK. You do not need to turn on the Diff all symbols check box when performing a multi-file diff because mismatching files will have a plus sign (+) in front of them so that you can diff all of the symbols.

Comparing Two Directories

You can differences two source trees to determine what files have been added or removed and generate a list of file names. When the source tree difference is complete, click Save to generate a list file. To diff two source trees, complete the following steps:

1.From the main menu, click Tools File Difference, or use the diff command.

2.Mark the Recurse into subdirectories check box to compare subdirectories.

3.Enter the two directories in the Path 1 and Path 2 text boxes.

4.Fill in the Filespecs text box with the files that you want processed.

5.Click OK. The Multi-File Diff Output dialog is displayed.

If a file exists in one tree but not the other, a plus sign (+) is displayed in the one tree and a minus sign (-) in the other. You can customize the files to view with the context menu. To display the context menu, right-click in the left or right tree. If you move the mouse over the Plus or Minus bitmap next to the item in the tool tree, a tooltip is displayed indicating what the bitmap means.

For descriptions of the buttons on the Multi-File Diff Output dialog, see Multi-File Diff Output Dialog.

Generating File Lists

DIFFzilla® can be used to find only the files that have been changed, and can generate file lists. The Save button in the Multi-File Diff Output dialog can create a list of files that includes different files, match- ing files, and files that do not exist in the other tree. Use the DIFFzilla dialog box to compare the new source tree with the original source tree.

1.From the main menu, click Tools File Difference, or use the diff command.

2.On the Files tab, select Multi-File.

3.Enter the first file in the Path 1 text box.

4.Enter the second file in the Path 2 text box. If the file names only differ by path, you only need to spe- cify the path for Path 2.

5.Click OK. The Multi-File Diff Output Dialog box opens.

Figure 8.2. Multi-File Diff Output Dialog

311

Page 333
Image 333
Slick V3.3 manual Comparing Two Directories, Generating File Lists