Alan Kasindorf > MogileFS-Utils-2.26 > mogrename

Download:
MogileFS-Utils-2.26.tar.gz

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: MogileFS-Utils-2.28

NAME ^

mogrename -- Rename file (key) from one key to another

SYNOPSIS ^

    $ mogrename [OPTIONS] --old_key='/hello.jpg' --new_key='/bye.jpg'

    $ mogupload --trackers=host --domain=foo --class=bar \
                --old_key='/hello.jpg' --new_key='/bye.jpg'

    $ mogupload --trackers=host1:7001,host2:7001 --domain=foo --class=bar \
                --old_key='/hello.jpg' --new_key='/bye.jpg'

OPTIONS ^

--trackers=host1:7001,host2:7001

Use these MogileFS trackers to negotiate with.

--domain=<domain>

Set the MogileFS domain to use.

--class=<class>

Set the class to use. Will use default class if not specified.

--old_key='<old key>'

An old key to rename the file from. Can be an arbitrary string.

--new_key='<new key>'

A new key to rename the file to. Can be an arbitrary string.

AUTHOR ^

Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>

BUGS ^

None for this release. Please report any issues found.

LICENSE ^

Licensed for use and redistribution under the same terms as Perl itself.

syntax highlighting: