Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save jrgcubano/a651930d5530b9cbe00b2418a10025ff to your computer and use it in GitHub Desktop.

Select an option

Save jrgcubano/a651930d5530b9cbe00b2418a10025ff to your computer and use it in GitHub Desktop.

Revisions

  1. @murarisumit murarisumit created this gist Sep 16, 2015.
    3 changes: 3 additions & 0 deletions msdeploy_sync_skip_file.bat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    ::Skip file with name .pdb, someFile.xml and .config$

    msdeploy.exe -verb:sync -source:contentPath=SourcePath -dest:DestPath -skip:objectName=filepath,absolutepath="^*\.pdb$" -skip:objectName=filepath,absolutepath="^*\someFile.xml$" -skip:objectName=filepath,absolutepath="^*\someotherfile.aspx$" -skip:objectName=filepath,absolutepath=".config$"