All but = I did all aside from one thing
Metallica plays all but gospel. They are able to play every type of music on earth but NOT the gospel you hear into the church
Anything but = you are not this at all or whatsoever
You are anything but smart
You are ALL but NOT smart
Everything but is pretty much the same of the second one or everything with the exception of
it depends on the context and the sentence in which you have to use one or the other
See here
https://jakubmarian.com/all-but-vs-anyt ... n-english/