Uploads multiple files to a directory on one or more systems.

This command can send several files from the Cloudmin master system to one or more managed hosts. The files are specified with the --source parameter, which can be given multiple times and use shell wildcards. The destination directory is set with the --dest flag, follow by a directory that must exist on all target systems.

The destination systems are specified with the --host, --group and other standard system-selection parameters. When copying the files are transferred to all systems in parallel, and the success or failure of each is shown as the transfer completes.

For OpenVZ, Vservers and Zones systems, the file transfer will be done via the host system, which works even if the virtual system is down. However, you can force a transfer via SSH to the target system with the --force-ssh flag.

Example usage

  cloudmin upload-multiple-files --host xencentos.home --host xenrails.home --host fedora.home --source /etc/h* --dest /tmp
  Uploading 10 files to 3 systems ..
  xencentos.home: OK
  xenrails.home: OK
  fedora.home: ERROR: ssh: connect to host fedora.home port 22: No route to host lost connection

Command Line Help

Uploads multiple files to a directory on one or more systems.

cloudmin upload-multiple-files [--host name]*
                               [--group name]*
                               [--type real|kvm|gce|this]*
                               [--os oscode]*
                               [--owner name]*
                               [--status status-code|"up"|"wm"|"bad"]
                               [--host-on name]
                               [--source sourcepath]*
                                --dest destdirectory