![Forrest logo](/images/logo.png)
ftp:tldr:956f5
ftp: Upload multiple files (glob expression).
$ mput ${*-zip}
try on your machine
The command "mput ${*-zip}" is used to upload multiple files with .zip extension to a remote server.
Here's a breakdown of the command:
- "mput" is short for "multiple put" and is a command used in certain FTP (File Transfer Protocol) clients or servers to upload multiple files at once.
- "${-zip}" is a shell variable used to match and select all files with .zip extension in the current directory. The asterisk () acts as a wildcard, representing any characters that can be present before the "-zip" suffix.
So, when you run this command, it will search for all files with .zip extension in the current working directory and upload them to the remote server using the FTP client or server.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.