krang_kds_retarget - change the site targeted by a KDS file
Export some media files from site foo.com:
krang_export --media_id 1 --media_id 2 --output foo.kds
Retarget the media for use in bar.com:
krang_kds_retarget --from foo --to bar foo.kds bar.kds
Import the newly created bar.kds:
krang_import bar.kds
This script takes a KDS file and creates a copy with the target site replaced with a new one. This allows you to export content from one site and copy it to another site.
The unique part of the url, preview_url, publish_path and preview_path fields to be changed.
The name to substitute for --from in the new file.
Prints a running dialog of what's happening.