Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use of RoboCopy
Message
De
20/06/2011 08:54:47
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Use of RoboCopy
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01515148
Message ID:
01515148
Vues:
190
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform