{"action":"closed","issue":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1718","labels_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1718/labels{/name}","comments_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1718/comments","events_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/1718/events","html_url":"https://github.com/wp-cli/wp-cli/issues/1718","id":62521687,"number":1718,"title":"Export option to specific file and not over-write existing file","user":{"login":"jb510","id":801241,"avatar_url":"https://avatars.githubusercontent.com/u/801241?v=3","gravatar_id":"","url":"https://api.github.com/users/jb510","html_url":"https://github.com/jb510","followers_url":"https://api.github.com/users/jb510/followers","following_url":"https://api.github.com/users/jb510/following{/other_user}","gists_url":"https://api.github.com/users/jb510/gists{/gist_id}","starred_url":"https://api.github.com/users/jb510/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jb510/subscriptions","organizations_url":"https://api.github.com/users/jb510/orgs","repos_url":"https://api.github.com/users/jb510/repos","events_url":"https://api.github.com/users/jb510/events{/privacy}","received_events_url":"https://api.github.com/users/jb510/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wp-cli/wp-cli/labels/scope:command","name":"scope:command","color":"e102d8"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/wp-cli/wp-cli/milestones/39","html_url":"https://github.com/wp-cli/wp-cli/milestones/0.22.0","labels_url":"https://api.github.com/repos/wp-cli/wp-cli/milestones/39/labels","id":1368185,"number":39,"title":"0.22.0","description":"","creator":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":80,"state":"open","created_at":"2015-10-21T13:12:28Z","updated_at":"2015-12-14T01:17:13Z","due_on":"2016-01-12T08:00:00Z","closed_at":null},"comments":3,"created_at":"2015-03-17T21:23:14Z","updated_at":"2015-12-14T01:17:13Z","closed_at":"2015-12-14T01:17:13Z","body":"I'm trying to export a WXR by year.\r\n\r\n```\r\nwp export --start_date=2000-01-01 --end_date=2001-01-01\r\nwp export --start_date=2001-01-01 --end_date=2002-01-01\r\nwp export --start_date=2002-01-01 --end_date=2003-01-01\r\netc...\r\n```\r\n\r\nHowever each time it over writes the xml file (named site_name.wordpress.2015-03-17.000.xml )\r\n\r\nWe need two options.\r\n1) to specify a file name (--dir currently doesn't work for this)\r\n2) to specify that the existing XML file name should be indexed instead of being over written\r\n\r\nFor reference when exporting my max file site, it does index the file names .000, .001, .002, etc...  "}}