How to migrate from Windows to Unix or vice verse?

Info
Migrating between file systems with different path separators (/ and \) is currently unsupported.

Danger
Use at your own risk. If you do this, make sure backup your database before starting.

It’s possible to manually migrate the folders table using SQL.

The following example query would replace \ with / and D:/ with /mnt/.

Example SQL query
UPDATE folders SET path = REPLACE(path, '\', '/');
UPDATE folders SET path = REPLACE(path, 'D:/', '/mnt/');