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 through
> and migrate all the old content.  Rather than upload 400 images I was
> hoping to write a script to call the File.save() method appropriately
> and just copy the images into the new location.
>
> Any thoughts on how to approach this?  Do you think this will likely
> take more time than just doing it by hand?
>
> Thanks,
>
> Milan
>
>
> >
>


-- 
Julio Nobrega - http://www.inerciasensorial.com.br

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to