MOGRENAME(1)

πŸ“¦
version 2.30 Β· 2 versions
, in fedora 43

πŸ¦‹ NAME πŸ¦‹

okay bestie, so mogrename is a lil Perl script that renames a file (aka a key) from one key to another. that's it, that's the whole job. it's giving "glow up but for filenames" ✨

this one lives in the User Contributed Perl Documentation corner of the man pages, and yes, we're reading MOGRENAME(1) together, no cap πŸ’–


🌸 SYNOPSIS 🌸

here's how you actually call it, copy-paste ready, zero notes:

$ 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'
okay so real talk, the page literally says mogupload in the second and third examples. not me, not a typo I made, that's just what's written. I'm the messenger, not the editor πŸ™ˆ

✨ OPTIONS ✨

every single flag, accounted for, periodt:

  • --trackers=host1:7001,host2:7001 β€” the MogileFS trackers you wanna negotiate with. list them with commas, host:port style, and let them talk amongst themselves πŸ’¬
  • --domain=<domain> β€” sets the MogileFS domain you're working in. pick your lane, bestie.
  • --class=<class> β€” sets the class to use. if you don't specify one? it just uses the default class, no stress 🫢
  • --old_key='<old key>' β€” the old key you're renaming the file from. can be any arbitrary string, go wild.
  • --new_key='<new key>' β€” the new key you're renaming the file to. also any arbitrary string. the glow-up destination πŸ’…

πŸ‘‘ AUTHOR πŸ‘‘

Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>

iconic. we love a credited author πŸŽ€


πŸ’€ BUGS πŸ’€

None for this release. Please report any issues found.

so like... zero bugs, allegedly, but if you find one, say something, don't just suffer in silence fr fr 😭


πŸ“œ LICENSE πŸ“œ

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


and that's the whole page, bestie. perl v5.42.0, dated 2025-07-25 β€” that's the version and the date this page came from, so if you're quoting it in a group chat you now have receipts 🧚 mwah, go rename something πŸ’–

πŸ“¦ where this page comes from