Relocating clips when the project moves?
  • spongemonkey
    member
    Posts: 49
    Joined: Mon Jul 03, 2006 10:41 am

    Relocating clips when the project moves?

    by spongemonkey » Fri Jun 22, 2007 4:48 am

    I just got an external drive for use with Modul8.
    I copied over my folder that contains my project files and my video clips, onto the new drive. However, when I open a project file, now on the external drive, it still pulls the clip from the system HD and not the external.
    Is there any way to salvage these projects and get them to find the clips on the external.
    They are all in the same place, hierarchically speaking, but that doesn't seem to matter.

    Any way to do this? Or should I put this on my wish list for Version 3?
    :)
  • User avatar
    VJ_JeSs
    activ8 member
    Posts: 59
    Joined: Tue Jan 11, 2005 2:24 pm
    Location: Rennes (FRANCE)
    Contact:

    by VJ_JeSs » Fri Jun 22, 2007 11:14 am

    There is a way but its not very elegant. You need to edit the md8 file.
    Its not that hard actually.

    FIRST BACKUP YOUR MD8 FILE.

    Open textedit.app

    Open your md8 file with textedit.

    Scroll to the bottom of the md8 file. You should find the links to the videos. They look like this:

    Code: Select all

    <string>/video/Z_anim_codec/spectrume.mov</string>


    So the trick is to use the search and replace function to replace the beginning of the path to be the one to the external harddrive.

    Hopefully all your videos are in a folder with a specific name egg: "video" or "vj_clips" etc...

    In my example its "video".

    External harddrives have this adress:

    Code: Select all

    /Volumes/my_new_hardrive/


    my_new_hardive = the name you give to your harddrive.

    So to change all the paths in the md8 file simply go to edit > search
    In the "search" box type your video folder name with the slashes:

    Code: Select all

    /video/

    And in the replace box type the path with the external harddrive:

    Code: Select all

    /Volumes/my_new_harddrive/video/


    Click on the "Replace all" button. Save the file. Try reopening. Hopefully its all good. If not just recopy your backup file And try again. Be sure you didn't do any syntax errors.

    I know its not elegant at all. But it does work. I've done it before for the same reasons.

    Good luck
  • spongemonkey
    member
    Posts: 49
    Joined: Mon Jul 03, 2006 10:41 am

    by spongemonkey » Mon Jun 25, 2007 3:07 am

    Cool thank you very much.
    I'll give that a try.
    All my clips are just a few folders deeper than the project files themselves so this should work fine.
    It never even occurred to me to open the md8 files in a text editor.
    I didn't realize they were saved in such a readable format.

    Agreed it is not the most elegant function, but if it works then that is what counts.

    Thanks again...
  • User avatar
    boris
    garageCube team
    Posts: 911
    Joined: Mon Jun 28, 2004 12:36 am
    Location: Geneva
    Contact:

    by boris » Wed Jun 27, 2007 2:53 pm

    More simple solution...
    Read this tread :

    http://www.garagecube.com/forum/viewtop ... light=file

    Best,
    Boris * garageCube team
  • User avatar
    VJ_JeSs
    activ8 member
    Posts: 59
    Joined: Tue Jan 11, 2005 2:24 pm
    Location: Rennes (FRANCE)
    Contact:

    by VJ_JeSs » Wed Jun 27, 2007 5:30 pm

    Fair enough :)
    Should have known that one !
    Did you get my email Boris ?

Who is online

Users browsing this forum: No registered users and 9 guests