mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-18 11:53:37 +00:00
File collisions: Put text in bullets instead of table
This commit is contained in:
@ -218,13 +218,48 @@ You have a custom .xml file that contains the following code:
|
|||||||
</include>
|
</include>
|
||||||
```
|
```
|
||||||
|
|
||||||
For this example, the following table describes the resulting behavior if you add the code in the first column to your custom .xml file.
|
For this example, the following information describes the resulting behavior if you add the code to your custom .xml file.
|
||||||
|
|
||||||
| If you specify the following code | Resulting behavior |
|
**Example 1**
|
||||||
|-----|-----|
|
|
||||||
| <pre class="syntax"><code><merge script="MigXmlHelper.DestinationPriority()"> <br/> <objectSet> <br/> <pattern type="File">c:\data* []</pattern> <br/> </objectSet> <br/></merge></code></pre> | During ScanState, all the files will be added to the store. <br/>During LoadState, only C:\Data\SampleA.txt will be restored. |
|
```xml
|
||||||
| <pre class="syntax"><code><merge script="MigXmlHelper.SourcePriority()"> <br/> <objectSet> <br/> <pattern type="File">c:\data* []</pattern> <br/> </objectSet> <br/></merge> </code></pre> | During ScanState, all the files will be added to the store. <br/>During LoadState, all the files will be restored, overwriting the existing files on the destination computer. |
|
<merge script="MigXmlHelper.DestinationPriority()">
|
||||||
| <pre class="syntax"><code><merge script="MigXmlHelper.SourcePriority()"> <br/> <objectSet> <br/> <pattern type="File">c:\data\ [*]</pattern> <br/> </objectSet> <br/></merge> </code></pre> | During ScanState, all the files will be added to the store. <br/>During LoadState, the following will occur:<ul><li>C:\Data\SampleA.txt will be restored.</li><li>C:\Data\SampleB.txt will be restored, overwriting the existing file on the destination computer.</li><li>C:\Data\Folder\SampleB.txt will not be restored.</li></ul> |
|
<objectSet>
|
||||||
|
<pattern type="File">c:\data* []</pattern>
|
||||||
|
</objectSet>
|
||||||
|
</merge>
|
||||||
|
```
|
||||||
|
|
||||||
|
**Result**: During ScanState, all the files will be added to the store. During LoadState, only C:\Data\SampleA.txt will be restored.
|
||||||
|
|
||||||
|
**Example 2**
|
||||||
|
|
||||||
|
```xml
|
||||||
|
<merge script="MigXmlHelper.SourcePriority()">
|
||||||
|
<objectSet>
|
||||||
|
<pattern type="File">c:\data* []</pattern>
|
||||||
|
</objectSet>
|
||||||
|
</merge>
|
||||||
|
```
|
||||||
|
|
||||||
|
**Result**: During ScanState, all the files will be added to the store.
|
||||||
|
During LoadState, all the files will be restored, overwriting the existing files on the destination computer.
|
||||||
|
|
||||||
|
**Example 3**
|
||||||
|
|
||||||
|
```xml
|
||||||
|
<merge script="MigXmlHelper.SourcePriority()">
|
||||||
|
<objectSet>
|
||||||
|
<pattern type="File">c:\data\ [*]</pattern>
|
||||||
|
</objectSet>
|
||||||
|
</merge>
|
||||||
|
```
|
||||||
|
|
||||||
|
**Result**: During ScanState, all the files will be added to the store. During LoadState, the following will occur:
|
||||||
|
|
||||||
|
- C:\Data\SampleA.txt will be restored.
|
||||||
|
- C:\Data\SampleB.txt will be restored, overwriting the existing file on the destination computer.
|
||||||
|
- C:\Data\Folder\SampleB.txt will not be restored.
|
||||||
|
|
||||||
## Related topics
|
## Related topics
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user