I'm aware of the -skip parameter, but is there any way to tell MSDeploy to skip multiple directories? Invoking the parameter multiple times does not appear to work.
相关问题
- MSDeploy to Azure Web App: Could not connect to th
- How to get Deploy.cmd to fill in replacement field
- Webdeploy permission issue
- MSDeploy/WebDeploy - Deploy Composite Database Pro
- Where can I find up-to-date information / walkthro
相关文章
- Create a clickonce webdeploy package
- Is the entire package uploaded to MsDeploy.axd?
- Why use Docker for .NET web apps when we have WebD
- How to set destination website on MSDeploy.exe com
- Why are some Web.config transforms tokenised into
- Could not find file or assembly Microsoft.Web.Depl
- Skip XML documentation files with Web Deploy
- Build website deployment package as a postbuild ev
If you have the following files in the folder
C:\Data\Personal\My Repo\MSDeploy\MultiSkip
.To sync source to dest the command would be:
The changes are show in figure below.
With no skips there are 19 changes.
Skip 1 folder
Then the command to skip the sub03 directory would be:
The result would be:
So there are 14 added files.
Skip 2 directories
To skip 2 directories the command would be
Then the result of that is There are only 9 changes here so we can see that multiple skips does work.
The
skip:objectName=dirPath,absolutePath=
accepts a regular expression, therefore you can achieve the same result as the answer above using:The pipe
|
indicatingOR