def METHOD_NAME(m: Maestral, dropbox_paths: list[str]) -> None:
    if any(p == "/" for p in dropbox_paths):
        raise CliException("Cannot exclude the root directory.")
    m.exclude_items(*dropbox_paths)
    for path in dropbox_paths:
        ok(f"Excluded '{path}'")