#!/bin/bash
#                 /usr/local/bin/redownload
# http://crystalfaeries.net/posix/bin/redownload
# celeste:crystalfaery 2014-08-08 09:25:41+00:00
# review the websites we have downloaded for requesting updates thereof.
cd /home/downloads	# where are the downloads
for domain in $(ls -tr)
do
	tree -d $domain | head -n 32
	echo -e "Update $(ls -Flad $domain) (N/y)?: "
	read choice
	if [ "X$choice" == "Xy" ]
	then
		download $domain &
	fi
done


syntax highlighted by Code2HTML, v. 0.9.1