mget
and mput
commands: fetch or send multiple files
mget
works almost exactly like get
, except that it allows you to specify more than one file to fetch at once. You can do this in two ways:
mget file1.txt file2.txt
’)
mget *.txt
’).
Every argument to mget
is treated as the name of a file to fetch (unlike get
, which will interpret at most one argument like that, and a second argument will be treated as an alternative name under which to store the retrieved file), or a wildcard expression matching more than one file.
The -r
and --
options from get
are also available with mget
.
mput
is similar to put
, with the same differences.