all but vs to all intents and purposes

all but

adv
  • Very nearly; everything short of. 

to all intents and purposes

prep
  • For every functional purpose; in every practical sense; in every important respect; practically speaking. 

How often have the words all but and to all intents and purposes occurred in a corpus of books? (source: Google Ngram Viewer )