I\'m trying to move a folder by renaming it. Both the test1 and test2 folders already exist.
rename( \"test1\", \"test2/xxx1/xxx2\" );
The e
I think test2/xxx1 would need to exist, so you'd need to use mkdir before you move it.