I'm a sysadmin trying to do what I thought would be a fairly simple task. I want to use msdeploy to sync one filesystem directory to another directory. What makes this a little challenging is I have a lot of exclusions to make at the source. Specifying them via the command line is very ugly/tough to read. I am hoping to use a parameter file (with the -setParamFile: option) to set all my exclusions.
Unfortunately I'm not finding any examples of doing this.
Here's an example of the command I'd like to use:
msdeploy -setParamFile:"C:\scripts\msdeploy.xml" -verb:sync -source:contentPath=C:\scripts -dest:contentPath=C:\scripts2
In the msdeploy.xml file, I would like to set exclusions for *.log, a folder called ".svn", etc. Just need to know how to do that.
Thanks!
Kevin