#!/bin/sh url="http://download.ceph.com/rpm-mimic/el7/x86_64/" for i in `cat filelist` do echo "===================== Now get file: $i =======================" wget -r -p -np -k -P /Download/ceph_rpms $url$i done