16 lines
677 B
Bash
Executable file
16 lines
677 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
#debian stable
|
|
debian_stable_iso_root='cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/'
|
|
debian_stable_iso_list=$(curl -s "ftp://${debian_stable_iso_root}" | grep '.iso$' | awk '{print $9}' | grep -e 'kde' -e 'standard' -e 'lxqt' -e 'xfce')
|
|
|
|
for i in ${debian_stable_iso_list[@]};do
|
|
echo "http://${debian_stable_iso_root}${i}"
|
|
done
|
|
|
|
debian_testing_iso_root='cdimage.debian.org/cdimage/weekly-live-builds/amd64/iso-hybrid/'
|
|
debian_testing_iso_list=$(curl -s "ftp://${debian_testing_iso_root}" | grep '.iso$' | awk '{print $9}' | grep -e 'standard')
|
|
|
|
for i in ${debian_testing_iso_list[@]};do
|
|
echo "http://${debian_testing_iso_root}${i}"
|
|
done
|