返回顶部
r

rr-renamer

Use RenameRegex (RR.exe) as a generic Windows CLI bulk renamer from OpenClaw. Use when you need regex search/replace renames with preview (/p pretend), recursive renames (/r), files/dirs selection, and a safe preview→apply workflow. This skill provides a thin wrapper and logging; it does NOT define any specific normalization rules.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
88
下载量
0
收藏
概述
安装方式
版本历史

rr-renamer

# RR (RenameRegex) generic runner ## Assumptions - `RR.exe` (RenameRegex) is available on PATH **from the environment that runs the command**. - User stated it is placed in `~/.local/bin`. - Prefer running via **Windows PowerShell 7** (`pwsh.exe`) so Windows path semantics are authoritative. ## Safety defaults - Always run **pretend preview first** (`/p`). - Only run apply after **explicit user approval** in the chat. - Never use `/f` (force overwrite) unless the user explicitly asks. - Log every invocation. ## How to use Use the bundled script to run RR.exe inside a chosen root folder. - Preview: - provide RR arguments, script adds `/p` automatically - Apply: - provide RR arguments, script runs without `/p` See: `scripts/rr_run.ps1` ### Regex argument quoting (PowerShell) When calling from PowerShell, pass regex arguments like `\s+` as a *single backslash* string. Recommended: use **single quotes** to avoid accidental escaping: - `@('*', '\s+', '_', '/r', '/e')`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 rr-renamer-1776116821 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 rr-renamer-1776116821 技能

通过命令行安装

skillhub install rr-renamer-1776116821

下载 Zip 包

⬇ 下载 rr-renamer v1.0.0

文件大小: 1.38 KB | 发布时间: 2026-4-14 10:17

v1.0.0 最新 2026-4-14 10:17
Initial release of rr-renamer: a safe Windows CLI wrapper for RenameRegex bulk renaming.

- Provides a generic runner for RenameRegex (RR.exe) via PowerShell 7.
- Enforces a preview-first workflow to ensure safety.
- Requires explicit user approval before applying changes.
- Logs every invocation for auditability.
- Supports regex search/replace, recursive renames, files/dirs selection.
- No built-in normalization rules—fully user-driven.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部