vagrant-scp icon indicating copy to clipboard operation
vagrant-scp copied to clipboard

Create directories if necessary

Open dalin- opened this issue 8 years ago • 0 comments

If I run something like

vagrant scp ~/foo/bar :~/baz/

Where /baz/ does not exist then vagrant-scp fails silently — no error is shown but the file is not copied.

It would be great if:

  • It threw an error.
  • There was a flag to allow it to create directories if necessary.

Sorry, I don't know the first thing about Ruby otherwise I'd offer a patch.

dalin- avatar Mar 31 '16 13:03 dalin-