system administration tools written in haskell.
Haskell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
Setup.lhs
hsysadmin.cabal

README.md

Installation

hsysadmin requires hfind from http://github.com/jamessanders/hfind

To install clone the repo and run cabal install

Renamex

Usage:

renamex - renamex <replacement_text> <file_path>

recurses file_path replacing regex with with replacement_text in each file name.

Example:

renamex "^.*(\..*)$" "test%1" ./

The above example would rename ./file.hs to ./test.hs

The above example shows that groups (parts of the regex enclosed in parethesis) can be refered to in the replacement text with a patter such as %1.

Chronos

Usage:

chronos interval 10 launch.sh               # Will run the command every 10 seconds
chronos daily 1:00,17:00 launch.sh          # Will run the command at 1:00am and 5:00pm every day
chronos weekly Fri,Sat 1:00,17:00 launch.sh # Will run the command at 1:00am and 5:00pm every Friday and Saturday

Creepy

Usage:

creep-on <site_url>

Example:

creep-on http://example.com