how to move a file to a different file system?
When moving a file by RENAME to a different file systems, I get a errno EXDEV:
int rename (FromPath, ToPath)
The link named by the ToPath parameter and the file named by the FromPath parameter are on different file systems.
I have tried using system("mv fromPath, toPath"), but it's not reliable.
Any better method?