wf-migrate provides helper functions and a command-line utility for migrating posts between WriteFreely instances.
Install the command-line utility with:
go install github.com/writefreely/wf-migrate/cmd/wfimport
wfimport
takes a username -u
, optional WriteFreely instance hostname -h
, and the filename of the JSON data you want to import.
By default, wfimport
publishes posts to Write.as:
wfimport -u username exported-data.json
But you can also supply another WriteFreely instance to import to:
wfimport -u username -h pencil.writefree.ly exported-data.json