CtrlK
BlogDocsLog inGet started
Tessl Logo

group_by_name

按文件名的规则将文件分组整理到不同目录。当用户提到按名称分组文件、整理文件、自动归类时使用。

Invalid
This skill can't be scored yet
Validation errors are blocking scoring. Review and fix them to unlock Quality, Impact and Security scores. See what needs fixing →
SKILL.md
Quality
Evals
Security

group_by_name Skill

按名称分组整理文件

功能描述

按文件名的前缀或规则,将文件分组整理到不同目录中。

⚠️ TODO: 该功能为历史功能,行为待测试。

所属分类

office/skills/file/group_by_name/

调用方式

from skills.file import group_by_name

group_by_name(
    path='./data',
    output_path=None,
    del_old_file=None
)

参数说明

参数类型必填默认值说明
pathstr-路径
output_pathstrNone输出路径
del_old_fileboolNone是否删除旧文件

返回值

None

原始函数

office.api.file.group_by_name

Repository
CoderWanFeng/python-office
Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.