In https://github.com/jkitchin/jmax/blob/master/ox-archive.el
you can see how I have done something like this for emailing and creating zip files. It might give you some hints that help your case. Marcin Borkowski writes: > Hi there again, > > the subject pretty much says it all. Apart from the HTML file itself > there might be inlined images and bitmaps of equations. Since I'd like > to make my customized exporter create a self-contained zip file, I need > the list of all files comprising the generated web page. > > Best, -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu