I really like soPdf -- it works very well, and fast too. Thanks.
The only issue I've been having is with the metadata command lines when the title or author you want has spaces in it. Sometimes it just seems not to do anything: it just retains whatever value was in the original pdf.
And other times it doesn't give you what you wanted.
For example:
sopdf -i in.pdf -o out.pdf -a Shakespeare, William -t The Tempest
seems to yield a title of just
The and an author of just
Shakespeare,. Putting the whole in quotation marks, i.e.:
sopdf -i in.pdf -o out.pdf -a "Shakespeare, William" -t "The Tempest"
gives the right result for the title, but makes the author "Shakespeare, William"
with quotation marks.
I feel like I must be missing something obvious here, but is there a way to do this right? Of course, I can fix the metadata fields on Acrobat or Calibre or other programs, but I'd rather just do it at the same time.