I’m bulk converting office documents to pdf like so
soffice --headless --convert-to pdf
–outdir myfolder mycalc.xlsx
Some documents are including a header and footer on each page like below
Header:
mycalc.xlsx
Footer:
file:///home/user/path/to/file/mycalc.xlsx Page 1 of 6 01/08/2018
How can I remove this footer when I do the conversion?