Examples (4)
Upload file or directory from the host to the guest machine
vagrant upload path/to/source_file_or_directory path/to/destination_file_or_directory name|idCompress the file or directory before uploading to guest machine
vagrant upload --compress path/to/source_file_or_directory path/to/destination_file_or_directory name|idSpecify which type of compression to use. Default type is `zip`
vagrant upload --compression-type tgz|zip path/to/source_file_or_directory path/to/destination_file_or_directory name|idCreate a temporary location on the guest machine and upload files to that location
vagrant upload --temporary path/to/source_file_or_directory path/to/destination_file_or_directory name|idmade by @shridhargupta | data from tldr-pages