Попробуйте рекурсивную загрузку wget с ограничениями:
wget -r --include-directories=ghi --no-parent www.abc.def