void logFiles(string source, string dest)
{
    list files;
    int idx;

    echo(OFF);
    files = `"(chdir " + source + ";find ./ -type f)"`;

    for (idx = listlen(files); idx--; )
        log(dest + "/" + files[idx]);
}
