I have many sessions using the default layout where images are imported in the Capture subfolder. As this is making life a bit difficult when using the images from other programs (esp. when using the folder name as a token as this always results in Capture) I want to write a little script that will change the capture folder to the session folder and move all files.
I've looked into the DB file after adding the session folder as a favourite, moving all files from the Capture folder to the new favourite folder and setting it as capture folder. What I see is that in the table ZPATHLOCATION new entries are added where the session folder is represented as '.', which makes sense as it is the current directory. In the ZIMAGE table the ZIMAGELOCATION column uses the entry of the current session folder entry from the ZPATHLOCATION table.
So would it be enough to update the ZRELATIVEPATH for the Capture row in the ZPATHLOCATION table to '.' and move the content of the Capture folder to the session folder. Or am I missing something?
Please sign in to leave a comment.