pdftk: multiple page ranges

Try

pdftk A=bloated.pdf cat A300 A307-310 A315-318 A600-end output slim.pdf