Re: migrating 400 images

2007-05-07 Thread Nate Straz
On Mon, May 07, 2007 at 05:14:16PM -, Milan Andric wrote: > Wow, interact() is very cool. Now I just need to find write one that > does a similar thing with html body and the local img srcs recursively > on files within a directory. Is there a library that parses html > pages, I'm sure there

Re: migrating 400 images

2007-05-07 Thread Milan Andric
On May 5, 7:17 am, Nate Straz <[EMAIL PROTECTED]> wrote: > > >>> from blog.migrate import loadCOREBlog > > In loadCOREBlog I loaded all of the Zope libraries and started iterating > through whatever needed to be migrated. When I detected a problem I > would use Python's code.interact function t

Re: migrating 400 images

2007-05-05 Thread Nate Straz
On Fri, May 04, 2007 at 11:13:36PM -, Milan Andric wrote: > I'm migrating a tutorials site to Django and have created a file model > that is associated with tutorial pages, etc. Now I need to go through > and migrate all the old content. Rather than upload 400 images I was > hoping to write

Re: migrating 400 images

2007-05-04 Thread Julio Nobrega
Just "mv" or "rename" the files and UPDATE the database with the new path. 10 seconds max. On 5/4/07, Milan Andric <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm migrating a tutorials site to Django and have created a file model > that is associated with tutorial pages, etc. Now I need to go throu