fx move-docs

Helper tool to batch move docs from one location to another

Usage: fx move-docs [--dry-run] INPUT_FILE
       cat INPUT_FILE | fx move-docs [--dry-run]
       echo "docs/orig/file.md doc/new_location/_toc.yaml" | fx move-docs [--dry-run]

INPUT_FILE is a file with two columns, where the first column
is the original location of the doc to be moved, and the second
line is the destination _toc.yaml file.

This tool will locate the original and destination _toc.yaml files,
update them and update any reference to the original file.

It will also create a proper entry in the _redirects.yaml file.

move-docs source code