Scroll to navigation

ethdownloadall(8) EFSFFCLIRG (Man Page) ethdownloadall(8)

NAME

ethdownloadall

Copies one or more files to a group of hosts from a system. Since the file contents to copy may be different for each host, a separate directory on this system is used for the source files for each host. This can also be used in conjunction with ethuploadall to upload a host-specific configuration file, edit it for each host, and download the new version to all the hosts.

NOTE:

  • The tool ethdownloadall can only copy from this system to a group of hosts in the cluster. To copy files from hosts in the cluster to this host, use ethuploadall.
  • user@ syntax cannot be used in filenames specified.

Syntax

ethdownloadall [-pr] [-f hostfile] [-h 'hosts']
[-u user] [-d download_dir] source_file ... dest_file

Options

Produces full help text.

Performs copy in parallel on all hosts.

Performs recursive download of directories.

Specifies the file with hosts in cluster. Default is /etc/eth-tools/hosts file.

Specifies the list of hosts to download files to.

Specifies the user to perform the copy. Default is the current user.

Specifies the directory to download files from. Default is downloads. If not specified, the environment variable DOWNLOADS_DIR is used. If that is not exported, the default is used.

Specifies the list of source files to copy from the system.

NOTE: The option source_file is relative to download_dir/hostname. A local directory within download_dir/ must exist for each host being downloaded to. Each downloaded file is copied from download_dir/hostname/source_file.

Specifies the name of the file or directory on the destination hosts to copy to.

NOTE: If more than one source file is specified, dest_file is treated as a directory name. The given directory must already exist on the destination host. The copy fails for hosts where the directory does not exist.

Example

ethdownloadall -h 'arwen elrond' irqbalance vncservers /etc

# Copies two files to 2 hosts

ethdownloadall -p irqbalance vncservers /etc

# Copies two files to all hosts

Environment Variables

The following environment variables are also used by this command:

List of hosts; used if -h option not supplied.

File containing list of hosts; used in absence of -f and -h.

Directory to download from, used in absence of -d.

When the -p option is used, the maximum concurrent operations are performed.

Intel Corporation Copyright(C) 2020-2023