#!/bin/bash while true # run a loop do wget -O live.tmp https://pad.xpub.nl/p/test/export/txt # download the txt of a pad's link into a file.tmp mv live.tmp live.html # rename .tmp into .html sleep 5 # 5 seconds delay done # restart the loop