How to change base folder of a video project

Asked by Miguel

I have the necessity to change my video project to a different folder from the original one I was working for (from folder A to folder B).

After the move I suppose the links are not valid so the question: Is there a way to change the base folder of the picures, videos and music of a video project?

By the way I wonder why you didn't use xml for the project file format.

Tks

Question information

Language:
English Edit question
Status:
Answered
For:
OpenShot Video Editor Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Timo Maaranen (tim-kuntonetti) said :
#1

Hello Miguel!

As far as I know the ranaming of the project files can be done only one by one using the file properties dialog. If there are not many files in your project this is not too difficult to do. But if you have 150 files in one project... it is a problem. I face the same problem and I thought that I'll solve it by writing a few lines of python code (maybe tomorrow or next week) because I'm too lazy to do it by clicking 150 times...

Regards Timo M.

Revision history for this message
Miguel (mmf1902) said :
#2

Thanks Timo...

My project has less files but I am quite lazy even for 20 clicks :-)

Maybe there should be a project base folder in the preferences dialog so we can move the project to any location and at any time. Meanwhile i will wait anxiously for your program.

Best,

Revision history for this message
Helen McCall (wildnfree) said :
#3

Hello Miguel and Timo,

This does need a projects base folder pathway option in the Preferences.

I will convert this question to a bug report so I can add it to our wishlist.

In the meanwhile there are several options available for allowing your old pathways to operate on the files stored in your new file heirarchy.

You can use symbolic links like

ln -S <target-folder> <linkname>

Where <linkname> is a link created with the original base of your project pathways, and <target-folder> is the new base of your project

Do this in a terminal.

You can also effect the same kind of symbolic links using any file manager.

Also if this is merely a USB disk being automounted on a different pathway from the original you can use the information I have put in FAQ #759

Revision history for this message
Timo Maaranen (tim-kuntonetti) said :
#4

Hello,

Also I have thought that there could be a base folder option. But what happens if there should be two "basefolders" in a project? So if there is a base folder option I would still want to give a possibility to change the path in selected files. The basefolder would then be a default option that would not restrict to import files from other folders outside the basefolder.

But now I must begin to write that magic code...

Regards Timo M

Revision history for this message
Helen McCall (wildnfree) said :
#5

Hello Timo,

I will copy your latest reply to Bug #454135

Please make any further comments regarding this on Bug #454135

I will add some details of how I manage my folder structures for projects, which will help determine what project folder deifinitions are needed in the Preferences.

This way we can build up a blueprint for this part of the Preferences.

Best wishes, Helen

Can you help with this problem?

Provide an answer of your own, or ask Miguel for more information if necessary.

To post a message you must log in.