360 Secure SkillHub
360 安全技能中心

Rm Tool

提供 rm-tool 命令行封装,用于永久删除文件与目录,支持递归删除、强制删除、交互式确认和详细输出,由 scripts/rm.py 配合 rm 命令实现。属于破坏性操作,材料未说明回收站、恢复或额外安全确认机制。

分类:自动化
dinghaibin
dinghaibin
热度 21.78
最近更新 2026-05-18 11:49:22

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add dinghaibin/rm-tool
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
rm-tool
description
Remove files and directories permanently. Use for file deletion, cleanup, and disk space management.

RM - File Removal Utility

Delete files and directories from the filesystem. Supports recursive directory removal, interactive confirmation, and force deletion.

Usage

rm-tool [options] <target...>

Options

  • -r: Recursively remove directories
  • -f: Force removal (ignore nonexistent files)
  • -i: Interactive (prompt before each removal)
  • -v: Verbose (show what is being removed)

Examples

rm-tool file.txt
rm-tool -rf temp_directory/
rm-tool -i *.log