例例文
He did nothing but complain during the trip.
彼は旅行中、文句ばかり言っていた。
EN英英で言うと
to do only one thing and nothing else
源語源・イメージ

「~する以外に(but)何もしない」→ ~ばかりする。
!入試ポイント
but の後は原形不定詞(× to complain / × complaining)が語法問題で狙われる。
「~してばかりいる」。but の後ろは原形(He does nothing but complain.)。過去なら did nothing but play。cannot help but do と同じく but の後ろは原形。have no choice but to do は to do。
VSここが違う!
do nothing but dovshave no choice but to do
do nothing but は原形、have no choice but は to do。見分け方:do nothing なら原形。
He does nothing but sleep. / He had no choice but to sleep.
覚覚え方
but は「~以外」。「~する以外何もしない」から、してばかり。do nothing の do と but の後ろの動詞がそろう(原形)と考える。
Q入試形式の例題
He did nothing but video games all weekend.
do nothing but do の後ろは原形なので play。did に合わせて played にしない。playing / to play も誤り(to play は have no choice but to do の形)。