You are not logged in.

#1 2009-02-16 15:51:24

test1000
Member
Registered: 2005-04-03
Posts: 834

updcheck. Checks urls for updates +color diff etc

Reads a textfile(~/.updcheck/urls) for well, urls, and mirrors & checks for changes appropriately. I used to use this to maintain packages but now i use it to check changes in websites.

After i made this script i realised that there were already Update Scanner which is a firefox extension AND Specto(which now works) which does the same thing. However, this script have far less dependencies and works on the console and in scripts. It also has far less code, is written in bash, and has cool diff color functionality which you can steal big_smile

I also might add % support(site changed thus many percent) and other features if there is demand.

I sat the default console width to 180 chars, that might be too wide for someone. Be sure to maximize your terminal(or change the diff code) if you want prett(y/ier) output.

Run the script on your terminal and it tells you what to do.
I uploaded elinks-git to AUR because it had a fix for 'æøå'(probably other int. characters aswell) and it seems snappier, so i also recommend that.

here's updcheck:
http://aur.archlinux.org/packages.php?ID=23964
and here's elinks-git:
http://aur.archlinux.org/packages.php?ID=23944


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#2 2009-02-16 17:38:08

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: updcheck. Checks urls for updates +color diff etc

There is also ck4up, a ruby-script, which I am using for that purpose. But I probably would prefer a bash script over that.

Offline

Board footer

Powered by FluxBB