in reply to Re: Re: Moving files
in thread Moving files

I think the author intended it to be used for files. He may be open to a suggestion to extend it for directories (or even a patch?).

It would be faster to simply use system ("mv ...);

Go ahead... Not as portable, but if you understand the constraints, there is nothing wrong with that at all.