摘要 |
A merge method includes determining whether a source item in a source file directory is a file or a subdirectory. If the source item is a file, any conflicting items in a destination file directory are deleted and the file is moved from the source file directory to the destination file directory without copying the file. If the source item is a subdirectory that has no corresponding destination subdirectory in the destination file directory, the subdirectory is moved from the source file directory to the destination file directory without copying the subdirectory. If the source item is a subdirectory that does have a corresponding destination subdirectory, the merge method is repeated for each item of the source subdirectory. |