Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use of RoboCopy
Message
From
20/06/2011 08:54:47
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Use of RoboCopy
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01515148
Message ID:
01515148
Views:
188
When using RoboCopy, there is a switch xd to avoid synchronizing a directory.

So, basically, I need to synchronize a directory but avoid one sub directory in it.

Something like this seems to be in effect:

\\10.0.0.1\h$\Software\ROBOCOPY \\10.0.0.1\h$\iis\www \\10.0.0.2\h$\iis\www /MIR /NP /xd app_data

I have a directory like this: \iis\www\app_data. So, I need to make sure to get the \iis\www branch but not the sub directory app_data.

This page gives an example:

http://ss64.com/nt/robocopy.html

However, what I do not understand is there xd example is like this:

ROBOCOPY c:\source d:\dest /XF *.doc *.xls /XD c:\unwanted /S

So, in one command, they are trying to synchronize c:\Source but to exclude c:\unwanted which is not even under c:\source. This is highly confusing.

What is the proper syntax? Is the one I give for my example OK?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform