impmeta - Set specific metadata values in an ETI .imp file.
(based on ebook.pl from EBook-Tools by Zed Pobre)

Usage:
impmeta filename.imp [Options]

Options:
--input filename.imp | -i filename.imp 
Specify the input filename. This can also be specified as the first argument, in which case the -i option will be ignored.

--output modified.imp | -o modified.imp 
Specify the output filename. If not specified, the input file will be overwritten.

--identifier 
Specify the identifier metadata.

--category | --cat | --c
Specify the category metadata.

--subcategory | --subcat 
Specify the subcategory metadata.

--title | --t
Specify the title metadata.

--lastname 
Specify the author last name metadata.

--middlename 
Specify the author middle name metadata.

--firstname | --author | --a
Specify the author first name metadata. Note that IMP files commonly place the full name in this component, and leave the middlename and lastname entries blank.

Examples
 impmeta mybook.imp --title 'Fixed Title' --author 'John Q. Brandy'
 impmeta -i mybook.imp -o fixed.imp --title 'Fixed Title' --cat "To Read"
