USMT 4.0 custom.xml for file rename
Hi,
Is there any chance to rename file with USMT 4.0 and custom.xml? I'd like is someone could post example.
Thanks,
Grega
November 24th, 2010 8:18am
Ok since nobody replied in 24h I had to solve it by myself.
Solution is in this sintax:
______________________________________________________________________________________
<migration urlid="http://www.microsoft.com/migration/externalUserDocs">
<!-- This component migrates NotesData 1 files -->
<component type="Documents" context="User">
<displayName _locID="miguser.notes1">Notes1</displayName>
<paths>
<path type="File">%CSIDL_PROFILE%\NotesData\Notes</path>
</paths>
<role role="Data">
<detects>
<detect>
<condition>MigXmlHelper.DoesObjectExist("File","%CSIDL_PROFILE%\NotesData\Notes")</condition>
</detect>
</detects>
<rules>
<include filter='MigXmlHelper.IgnoreIrrelevantLinks()'>
<objectSet>
<pattern type="File">%CSIDL_PROFILE%\NotesData\Notes\ [names.nsf]</pattern>
</objectSet>
</include>
<locationModify script="MigXmlHelper.ExactMove('C:\NotesData\ [names.old]')">
<objectSet>
<pattern type="File">%CSIDL_PROFILE%\NotesData\Notes\ [names.nsf]</pattern>
</objectSet>
</locationModify>
</rules>
</role>
</component>
</migration>
_____________________________________________________________________________________
This will move and rename %CSIDL_PROFILE%\NotesData\Notes\names.nsf from old computer to C:\NotesData\names.old
I hope this helps somebody.
Regards,
Grega
Free Windows Admin Tool Kit Click here and download it now
November 25th, 2010 8:27am
Hi,
I voted as helpful, just to encourage your efforts :-)
November 26th, 2010 4:40am