Two points not covered by tachyon:
- In rename ("index.html", "old.html") for example, it would be better to use absolute paths. Otherwise the current directory comes into it and it may not be what you expect.
- Is '...,-nhp=>1, ...' a typo for -nph=1 ?
I agree that this is pretty solid code.
After Compline,
Zaxo