CmdID

CmdID / Commands

vagrant-upload

Upload files and directories from the host to the guest machine. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

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 nameIdentify

Compress the file or directory before uploading to guest machine

vagrant upload --compress path/to/source_file_or_directory path/to/destination_file_or_directory nameIdentify

Specify which type of compression to use. Default type is zip

vagrant upload --compression-type tgz path/to/source_file_or_directory path/to/destination_file_or_directory nameIdentify

Create 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 nameIdentify