def clean_list_folder(list_complete: list, list_exclude: list):
    """Clear folders paths

    Args:
        list_complete (list): All paths to search files
        list_exclude (list): Paths to exclude from full list

    Returns:
        list: List purge with the paths
    """
    # delete all equals while have it
    for exclude in list_exclude:
        if exclude in list_complete:
            list_complete.remove(exclude)

    # create a list with paths with wildcard
    list_wildcard = [
        exclude.replace("/*", "") for exclude in list_exclude if exclude.count("*")
    ]

    for path in list_complete:
        for exclude in list_wildcard:
            if path.startswith(exclude):
                list_complete.remove(path)

    return sorted(list_complete)