The article [1] explains managing Packages on the Command Line. In this blog post providing an sample to add the filter definitions with exclusion using cUrl[2]. CQ 5.5 uses multipart/form-data to POST the data. The command [2] referenced is for cq5.5 onwards. In case it is cq5.4 please use [3].
As an example for cq5.5 onwards the cUrl command to add a filter definition /content/geometrixx/en and to exclude all the page below /content/geometrixx/en that starts with range a to z for already existing package (test-2.zip) and group mygroup is