You can either merge the currently selected item (file or directory), or all items.
When you have made all your operation choices (in all subdirectories too)
then you can start the merge.
</p><p>
Be aware that if you didn't specify a destination directory explicitely,
then the destination will be "C" in three directory mode, "B" in two directory
merge mode, and in sync-mode it will be "A" or/and "B".
</p><p>
If you have specified a destination directory also check that all items
that should be in the output, are in the tree. There are some options that
cause certain items to be omitted from the directory comparison and merge.
Check these options to avoid unpleasant surprises:
</p><divclass="itemizedlist"><ultype="disc"><li><p>"Recursive Directories": If this is off, then items in subdirectories
will not be found.</p></li><li><p>"Pattern"/"Anti-Pattern": Include/exclude items that match</p></li><li><p>"Exclude Hidden Files"</p></li><li><p><ahref="dirmergevisible.html#selectingvisiblefiles"title="Selecting Listed Files">"Show"-options</a> (Show Identical/Different Files, Files only in A/B/C)</p></li></ul></div><p>
If you change the settings in order to list more files, you must do a rescan via menu "Directory"->"Rescan" yourself.
(The reason for this is that for faster comparison-speed <spanclass="application">KDiff3</span> omits the comparison for files suppressed by these criteria.)
If you changed your file and dir patterns to exclude files, then the file-list will immediately be updated on closing
the options-dialog.
</p><p>
Note that when you write to a completely new directory then you usually also want to copy the identical files.
In that case enable the "Show Identical Files"-option. If your destination-directory is one of the inputs,
then this isn't necessary because the file is already there.
</p><p>
If you are satisfied so far, the rest is easy.
</p><p>
To merge all items: Select "Start/Continue directory merge" in the "Directory"-menu
or press F7 (which is the default shortcut).
To merge only the current item: Select "Run Operation For Current Item"
or press F6.
</p><p>
If due to conflicting filetypes still some items with invalid operations
exist, then a messagebox will appear and these items will be pointed out,
so you can select a valid operation for the item.
</p><p>
If you merge all items a dialog will appear giving you the options "Do it", "Simulate
it" and "Cancel".
</p><divclass="itemizedlist"><ultype="disc"><li><p>Select "Simulate it" if you want to see what would be done without
actually doing it. A verbose list of all operations will be shown.</p></li><li><p>Otherwise select "Do it" to really start merging.</p></li></ul></div><p>
Then <spanclass="application">KDiff3</span> will run the specified operation for all items. If manual
interaction is required (single file merge), then a merge window will open
(<ahref="screenshots.html#dirmergebigscreenshot">see the big screenshot</a>).
</p><p>
When you have finished with manually merging a file, again select "Start/Continue directory
merge" or the key F7. If you haven't saved it yet, a dialog will ask you to
do so. Then <spanclass="application">KDiff3</span> will continue with the next item.
</p><p>
When <spanclass="application">KDiff3</span> encounters an error, it will tell you so and will show the
verbose-status-information. At the bottom of this list, there will be some
error messages which should help you to understand the cause of the problem.
When you continue merging (F7 key) <spanclass="application">KDiff3</span> will give you the choice to retry
or skip the item that caused the problem. This means that before continuing
you can choose another operation or solve the problem by other means.
</p><p>
When the merge is complete, then <spanclass="application">KDiff3</span> will inform you via a message
box.
</p><p>
If some items were merged individually before running the directorymerge then
<spanclass="application">KDiff3</span> remembers this (while this
merge-session goes on), and doesn't merge them again when later the merge for
all items is run. Even when the merge was skipped or nothing was saved these
items count as completed. Only when you change the merge operation the
"Done"-status of the item will be removed and it can be merged again.
</p></div><divstyle="background-color: #white; color: black; margin-top: 20px; margin-left: 20px; margin-right: 20px;"><divstyle="position: absolute; left: 20px;"><aaccesskey="p"href="dirmergevisible.html">Prev</a></div><divstyle="position: absolute; right: 20px;"><aaccesskey="n"href="dirmergeoptions.html">Next</a></div><divalign="center"><aaccesskey="h"href="index.html">Home</a></div></div><divstyle="background-color: #white; color: black; margin-left: 20px; margin-right: 20px;"><divclass="navLeft">Directory Merge Visible Information</div><divclass="navRight">Options for Comparing and Merging Directories</div><divclass="navCenter"><aaccesskey="u"href="dirmerge.html">Up</a></div></div><br><br><divclass="bannerBottom"style="background-image: url(help:/common/bottom-middle.png); background-repeat: x-repeat; width: 100%; height: 100px; bottom:0px;"><divclass="BannerBottomRight"><imgsrc="help:/common/bottom-right.png"style="margin: 0px"alt=""></div><divclass="bannerBottomLeft"><imgsrc="help:/common/bottom-left.png"style="margin: 0px;"alt=""></div><divid="comments"style="position:relative; top: 5px; left: 1em; height:85px; width: 50%; color: #cfe1f6"><p>Would you like to make a comment or contribute an update to this page?<br>
Send feedback to the <ahref="mailto:kde-docs@kdemail.net"style="background:transparent; color:#cfe1f6; text-decoration: underline;">KDE Docs Team</a></p></div></div></body></html>