Directory.Move(Application.persistentDataPath + "/old", Application.persistentDataPath + "/new");
That worked for me on a Mac. Note that on Mac the app runs in a sandboxed environment. You should not expect to have access to the hard drive of the machine. See:
http://developer.apple.com/library/mac/#documentation/Security/Conceptual/AppSandboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html
↧