You can just put the command in a loop
Code:
for size in {1460..1476..4}; do ping -s $size -c 4 -M do google.com; done
or if you want to just find the maximum MTU you could check the exit status of the ping command and just loop until it fragments e.g.
Code:
size=1272; while ping -s $size -c1 -M do google.com >&/dev/null; do ((size+=4)); done; echo "Max MTU size: $((size-4+28))"