{"action":"closed","issue":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/6179","labels_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6179/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6179/comments","events_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6179/events","html_url":"https://github.com/mitchellh/vagrant/issues/6179","id":102657906,"number":6179,"title":"Cannot move contents to home directory using tilda char ~","user":{"login":"nitrocode","id":7775707,"avatar_url":"https://avatars.githubusercontent.com/u/7775707?v=3","gravatar_id":"","url":"https://api.github.com/users/nitrocode","html_url":"https://github.com/nitrocode","followers_url":"https://api.github.com/users/nitrocode/followers","following_url":"https://api.github.com/users/nitrocode/following{/other_user}","gists_url":"https://api.github.com/users/nitrocode/gists{/gist_id}","starred_url":"https://api.github.com/users/nitrocode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitrocode/subscriptions","organizations_url":"https://api.github.com/users/nitrocode/orgs","repos_url":"https://api.github.com/users/nitrocode/repos","events_url":"https://api.github.com/users/nitrocode/events{/privacy}","received_events_url":"https://api.github.com/users/nitrocode/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-23T20:34:03Z","updated_at":"2015-11-07T23:03:15Z","closed_at":"2015-11-07T23:03:15Z","body":"I have the following in my Vagrantfile\r\n\r\n    zipFile = \"latest.zip\"\r\n    if File.exist?( zipFile ) then\r\n      config.vm.provision :shell, :inline => \"cp /vagrant/\" + zipFile + \" ~/\"\r\n    end\r\n\r\nAnd this will not work unless I replace the tilda ~ with the exact home directory `/home/vagrant/`"}}