Skip to content

jamessanders/hsysadmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

system administration tools written in haskell.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published