Dump all the wiki pages:

> trac-admin </path/to/project/dir> wiki dump <directory>


Update the urls

> perl -i.bak -ple 's#http://old_domain.com\b#http://new_domain.com#g;'
> <directory>/*
>
Assumes you have perl installed, it's available for nearly all platforms.

Load the pages:

> trac-admin </path/to/project/dir> wiki load <directory>
>

Ted

On Mon, Jul 20, 2009 at 3:38 PM, Kiffin Gish <[email protected]> wrote:

>
> Hi there.
>
> I want to convert all url links in the trac wiki containing
> http://old_domain/ to http://new_domain/.
>
> What's the best way to do this?
>
> --
> Kiffin Gish <[email protected]>
> Gouda, The Netherlands
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to