Download or update an entire directory

lftp

mirror {{path/to/remote_dir}} {{path/to/local_output_dir}}

click the source code to copy install lftp on any operating system with command-not-found.com