editing EAF files and tsconfig directly to create relative paths

What I want to do is to set things up so I can copy and paste folders containing a set of files onto any computer/disk and be able to open them in Elan without worrying about the paths. I.e., now my 4.wav is in “d://reddisk/corpus/subj4/” instead of “e:/bluedisk/corpus/subj4” and i still want it to open and be synched with all the other files it has been associated with.
In other words, can I go into each pair of .eaf and .tsconf.xml files once so that Elan just opens all the linked and media files using a relative path instead of an absolute?
Thanks!

I’m not sure if the situation is clear to me. The idea of the relative paths in .eaf is that it should work as described in your post. Doesn’t it work like that? It might depend a bit where the eaf is. In your example if the eaf is e.g. in “d:/reddisk/corpus/trans/” and the complete folder structure is moved to “e:/” the media files should be found.

-Han

Hi we are still having some troubles with this.

most recently we were bringing over some .eaf files to a Mac. When opening the file, I was prompted to indicate the new locations of all the media and linked files. That was fine. But then I had to do that EVERY time.

I edited the .eaf and config files directly. They would open normally. Save. And then when you opened it again, the paths had been re-written in the .eaf and tsconfig files. Edit paths again, same problem repeats.

It didn’t matter if I edited the paths manually or when opening the eaf file in Elan… same problem on the Mac.

We ended up writing a script that does a copy paste to change the .eaf/tsconfig file each time you opened them to manage this problem. Is anyone else having this problem?

There indeed seems to be a problem with the links to timeseries file in case files have been moved to another disc or pc. For eaf I haven’t been able to reproduce the problem so far. When the new location of the media file has been found automatically or pointed to by the user, then it should be stored in the eaf (and as far as I can see that is what happens?

-Han