-- wget https://mc.cortan122.de/cc/update.lua local data = http.get("https://mc.cortan122.de/cc").readAll() for file in data:gmatch("href=\"[%w_]+%.lua\"") do file = file:sub(7, -2) shell.execute("rm", file) shell.execute("wget", string.format("https://mc.cortan122.de/cc/%s", file)) end