Using LinkController: Repair

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

# 9. Repairing Links

The program responsible for repairing links is `fix-link`. It simply accepts two URLs and changes all of the occurrences of the first link in your documents into the second link. It assumes that you have permission to edit all of the problem files and that there is a replacement link. For example

    fix-link http://www.ed.ac.uk/~mikedlr/climbing/ \
            http://www.tardis.ed.ac.uk/~mikedlr/climbing/

Typed at the shell prompt would have updated the location of my Climbing pages when they moved some while ago and

    fix-link http://www.tardis.ed.ac.uk/~mikedlr/climbing/ \
            http://www.tardis.ed.ac.uk/climb/

Will change them to the very latest location.

At present, there's no facility for automatically updating the databases when you do this. Instead, you have to run `extract-links` regularly so that new links are noticed. Maybe a later version of LinkController will change this.

[ << ] | [ >> ] |  |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

This document was generated by Michael De La Rue on December, 30 2001 using texi2html