It is possible to method to restrict certain tables in the mysqldump command?

For instance, I'd make use of the following syntax to dump only table1 and table2:

mysqldump -u username -p database table1 table2 > database.sql

But it is possible to similar method to dump all of the tables except table1 and table2? I've not found anything within the mysqldump documentation, same with brute-pressure (indicating all of the table names) the only method to go?

You should use the --ignore-table option. So you could do this

mysqldump -u username -p database --ignore-table=database.table1 --ignore-table=database.table2 > database.sql