Apologies to screen reader users. Prepare for a shell script. Looking at the log...

@pronounshe@lgbtqia.space

Apologies to screen reader users. Prepare for a shell script.

Looking at the logs of one of my websites and how many bots and scrapers are ignoring my very restrictive robots.txt file, I think it might be time to start seeding a directory with some files.

Still need to work of some randomization of words pulled from the american-english dictionary. All the output is alphabetical at the moment.

for i in {1..256}
do
wd=$(cat /usr/share/dict/american-english | head -n 1)
min=0
max=1500
ran=$(($RANDOM%($max-$min+1)+$min))
dd if=/dev/random of=./sillyfile_"$i"_temp.html bs=64K count=1
cat ./sillyfile_"$i"_temp.html | tr -d ^\< | tr -dc '[:alnum:]\n' | fold -w 78 >> ./datafile_"$i".html
rm -v ./*temp.html
done

#Bash #FuckAI #ShellScript #Web