[edit] - This was just me playing around, please use rsync.
Using wget:
wget --no-parent --recursive -nd -R *.html* https://raw.pixls.us/data/Pentax/
| option | info |
|---|---|
--no-parent |
doesn’t ascend to parent directory |
--recursive |
recursively enter directories |
--nd |
files saved to current directory (no sub-directories) |
-R |
reject files with this pattern *.html* |