add --condition option to leave out certain rows when repacking