File path conversion in a multi OS environment

cineSync 5.3.2 added better support for multi OS environments by adding support for paths conversions via the use of environment variables. If you support Linux/Windows and macOS machines with the same basic file structure, but with different roots, you can set the following environment variables, and cineSync 5 will automatically convert to the correct path for the host.

CS_OS_PATH_OSX
CS_OS_PATH_LINUX
CS_OS_PATH_WINDOWS

eg:

macOS  /Volumes/media
Windows e:/media
Linux /media

If the input path is /Volumes/media/dailies/review/test.mp4 then on Linux, it will remain unchanged but convert as follows on the other two platforms.

e:/media/dailies/review/test.mp4
/media/dailies/review/test.mp4

Was this article helpful?
0 out of 1 found this helpful

Articles in this section