Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Shell 

Stream redirection for combining office files?

Heyo,
just wondering if anybody could help me out here. I'd like to use stream redirection to combine multiple files, (.docx, .pptx, etc) into one larger file. I'm assuming that "cat file1.docx >> file2.docx" doesn't work, as the headers and footers are repeated throughout the file. Is there any way that I could go about stripping just the headers and footers?

Thanks
[Image: OLA3irL.gif]

OMC: oP6nQvkNjw913rnj5aYMJk1cJxRMMhcvw3
BTC: 1Hga28EVqVgmJmgjhawZvcrnQEWxgAKyqz
It isn't possible to do it like this. .docx, .pptx and all similar modern file formats are binary (zips with multiple xml and other kind of files). Maybe there is some utility dedicated to do this, but it definitely isn't possible just with command line. But unless you plan to edit the files afterwards, it should be simple enough to convert all documents to pdfs and then concatenate them.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by simantmohanAug 30, 2018 07:47 PM 10 339 Aug 30, 2018 07:47 PM
Last Post: simantmohan
[C#] by Gt403cylJun 12, 2017 11:12 AM 2 156 Jun 12, 2017 11:12 AM
Last Post: Owl
[C#] by YashiroUchihaJan 3, 2016 06:03 AM 2 243 Jan 3, 2016 06:03 AM
Last Post: limit3l3ss