Extracted from Pike v7.8 release 352 at 2010-11-02.
pike.ida.liu.se
[Top]
Stdio

Method Stdio.recursive_mv()


Method recursive_mv

int recursive_mv(string from, string to)

Description

Copy a file or a directory tree by copying and then removing. It's not the fastest but works on every OS and works well across different file systems.

Returns

Returns 0 on failure, nonzero otherwise.

See also

recursive_rm cp