{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "not reproducible.",
    "ClosedDate": "2009-05-08T09:09:46.1-07:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "Hello! My name's Alessandro.\nI'm using DotNetZip 1.8.2.11 Beta and I love it. But I'd like to have a method (or a procedure) to exclude a directory from Zip method.\n \nExample:\nI've a directory \"Pippo\" with three subdirectories (no empty): \"FolderOne\", \"FolderTwo\" and \"FolderThree\". I need to Zip the \"Pippo\" directory but excluding the \"FolderOne\" directory, for example. For the files, I can use the searchCriteria in AddSelectedFiles method to exclude some files. How can I do this with a directory?\n \nsee http://dotnetzip.codeplex.com/Thread/View.aspx?ThreadId=55202\nMany thanks!\nRegards,\nAlessandro.",
    "LastUpdatedDate": "2013-05-16T05:32:25.407-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2009-05-05T11:22:41.793-07:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Exclude a subdirectory with AddSelectedFiles is not working?",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 7733
  },
  "FileAttachments": [],
  "Comments": [
    {
      "Message": "After some effort, I could not reproduce this problem on v1.8.3.1.  The line I used to exclude a subdirectory was: zip.AddSelectedFiles(\"name != Pippo\\\\FolderOne\\\\*.*\", \"Pippo\", true);\r\n",
      "PostedDate": "2009-05-08T09:08:26.46-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2009-05-08T09:09:33.02-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2009-05-08T09:09:46.1-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:44:22-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-05-16T05:32:25.407-07:00",
      "Id": -2147483648
    }
  ]
}