Next: , Previous: Fill KMS cache, Up: The tool chest   [Contents][Index]


7.2 Metadata pasting

ponysay-tool allows you to copy, remove, stash and apply stashed pony metadata (but not merging, that must be done by hand.) The following commands does not support additional options.

ponysay-tool --edit-rm PONY-FILE will remove all metadata from the file PONY-FILE. To just remove some data you must use ponysay-tool --edit PONY-FILE or do it by hand. Note that you always use pony file, not pony names.

ponysay-tool --edit-stash PONY-FILE will print all metadata from a file to stdout. Cherry-picking cannot be done.

ponysay-tool --edit-apply PONY-FILE replace all metadata in a file with the metadata used provided in stdin.

To copy the metadata from one pony to another (and remove the old metadata) you will have to pipe the stashing and the applying command: ponysay-tool --edit-stash SOURCE-PONY-FILE | ponysay-tool --edit-apply TARGET-PONY-FILE