Skip to content

[New Feature]: Bulk regex renamer for items #280

@RubisDrake

Description

@RubisDrake

Introduction

Hey everyone, I've been playing around with the Bulk Rename feature in Kokua viewer, and it's super useful. I would really like to see this for Alchemy Viewer, and eventually Firestorm. Though I expect it will take their team a while to do it.

Description of the Feature

A Second Life viewer needs to have a Bulk Rename feature because LSL does not support item renaming currently. It can only rename things like objects and object descriptions, or folders that are given as inventory items.

  • Description of its functions here: https://kokua.atlassian.net/wiki/spaces/KKA/pages/367984641/Bulk+Rename
  • It allows selection from a checklist which inventory item types to affect.
  • One text field has the single-line regex search term, the other is for the matched field.
  • Allow an easy way to change filenames to all uppercase, all lowercase, capitalized words or maybe camel case.
  • In Kokua, $& is a back-reference to the entire match, but it should also support $1, $2, $3, etc...
  • Have a field that will let you choose if you want to rename (no transfer), or (no copy) items, or both.
  • Have a field that can exclude items marked as "Favorite" or items in protected folders.
  • Warn the user when there are (no modify) items that have been matched but cannot be renamed.
  • Add any features that may be useful from Perl's Extended Regex library: https://perldoc.perl.org/perlre
  • VERY IMPORTANT: There really should be a DRY RUN feature that allows you to show the results of a bulk rename without applying it. This makes is so that you do not have to drag a bunch of inventory items into an object to safely test bulk renames. Results of a bulk rename could be shown in a viewer floater/dialog window.

Maybe another future idea could be allowing bulk renaming of folders in an inventory, too. I know objects can't support folders, but that would be for the inventory only. And also something that can bulk edit the description field of each object. Though I don't know how useful people will find that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageWaiting for review

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions