vagrant upload source [destination] [name|id]
This command uploads files and directories from the host to the guest machine.
destination- Path on the guest machine to upload file or directory.
source- Path to file or directory on host to upload to guest machine.
--compress- Compress the file or directory before uploading to guest machine.
--compression-type type- Type of compression to use when compressing file or directory for upload. Defaults to
zipfor Windows guests and
tgzfor non-Windows guests. Valid values:
--temporary- Create a temporary location on the guest machine and upload files to that location.