#!/bin/bash

input_file="iso-list.txt"
download_dir="/store/html/dist/new/iso/"

#while IFS=$'\t' read -r url filename; do
#  [ -z "$url" ] && continue
#  echo "Downloading $download_dir $filename ..."
#  wget -O "$download_dir$filename" "$url"
#done < "$input_file"

cat $input_file | while read -r url filename
do
	echo "Downloading $download_dir$filename ..."
	wget -O "$download_dir$filename" "$url"
done
