public static boolean zipDirectoryTo(Path dir, Path destDir, String suffix) throws IOException {
        if (!controlDirectory(dir) || !controlDirectory(destDir)) {
            return false;
        }

        DirectoryZip.zipDirectory(dir, destDir, suffix);
        return true;
    }