sync


Description:

public static bool sync (Path src, Path dst)

One-way synchronization from src to dst.

Files are copied when missing in dst, or when size/mtime differs.

Parameters:

src

source directory.

dst

destination directory.

Returns:

true if synchronization succeeds.