Edit the metadata of a space, and it will apply to all files in its subspaces and folders.
Only managers of a space can apply metadata at the space level.
Good to know: Metadata can also be applied at a folder level. For more on this, see Edit metadata on all files in a folder.