doefom / statamic-export

A Statamic Addon to export collections in various formats like xlsx, csv, etc.
MIT License
4 stars 1 forks source link

Exporting structured markdown folder #6

Open efc opened 3 weeks ago

efc commented 3 weeks ago

Is there a way to extend this addon so that it could generate a (.tar.Z?) folder of markdown files as it's export?

This might sound an awful lot like just copying the collection of pages, but the difference would be the exported folder would place the files into a directory hierarchy that matches the tree structure of the collection and would use the slugs as filenames (without needing the "-x" numbering that statamic uses to avoid duplicate names in the flat file list).