跳到正文
cccskills
免费在 GitHub 公开

batch-file-ops

Batch-Dateioperationen (Löschen, Verschieben, Kopieren, Auflisten) mit Glob-Mustern. CLI-Werkzeug für effiziente Dateisystem-Operationen. Ohne Abhängigkeiten.

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(14)

  • SKILL.md2.8 KB
  • banner.png146.4 KB
  • batch_file_ops.py4.8 KB
  • en/SKILL.md2.8 KB
  • es/SKILL.md3.0 KB
  • ja/SKILL.md3.3 KB
  • ru/SKILL.md4.0 KB
  • SKILL.en.md2.8 KB
  • SKILL.es.md3.1 KB
  • SKILL.fr.md3.0 KB
  • SKILL.ja.md3.4 KB
  • SKILL.ru.md4.1 KB
  • SKILL.zh.md2.8 KB
  • zh/SKILL.md2.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

<img src="banner.png" width="100%" alt="batch-file-ops banner">

batch_file_ops - Batch-Dateioperationen

CLI-Tool fuer effiziente Batch-Operationen auf Dateien mit Glob-Patterns. Unterstuetzt: delete, move, copy, list. Zero Dependencies (nur Python stdlib).


Aktionen

AktionBeschreibung
deleteDateien nach Pattern loeschen
moveDateien nach Pattern verschieben
copyDateien nach Pattern kopieren
listDateien nach Pattern auflisten

CLI Usage

python batch_file_ops.py <aktion> <quelle> [<ziel>] --pattern "<glob>" [--dry-run] [--recursive]

Argumente

ArgumentBeschreibung
aktiondelete, move, copy oder list
quelleQuellordner
zielZielordner (nur fuer move und copy)
--pattern, -pGlob-Pattern (z.B. *.py, TOOLS_*.py) - Standard: *
--dry-run, -nNur anzeigen, nichts aendern
--recursive, -rRekursiv in Unterordnern suchen

Beispiele

# Alle Python-Dateien in einem Ordner auflisten
python batch_file_ops.py list /pfad/zum/ordner --pattern "*.py"

# Alle .tmp Dateien loeschen (erst Dry-Run!)
python batch_file_ops.py delete /pfad/zum/ordner --pattern "*.tmp" --dry-run
python batch_file_ops.py delete /pfad/zum/ordner --pattern "*.tmp"

# Dateien verschieben
python batch_file_ops.py move /quelle /ziel --pattern "*.txt"

# Dateien kopieren (rekursiv)
python batch_file_ops.py copy /quelle /ziel --pattern "*.md" --recursive

# Pattern-Beispiele
python batch_file_ops.py delete /pfad --pattern "TOOLS_*.py"
python batch_file_ops.py list /pfad --pattern "backup_202?-*"

Hinweise

  • Dry-Run zuerst: Bei delete und move immer erst --dry-run verwenden
  • Glob-Patterns: Nutzt Python pathlib.glob() / pathlib.rglob()
  • Windows-kompatibel: Automatisches UTF-8 Output-Encoding
  • Nur Dateien: Ordner werden uebersprungen (nur Dateien werden bearbeitet)

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Akademisches Studien- und Fristenmanagement mit Quellenprüfung, Datenschutz und realistischer Handlungsplanung.

中文简介正在准备中。当前显示原文说明。

ellmos-ai/skills82026年10月23日 更新

Aktives Lernen, Erarbeitung von Fachinhalten und strukturierte Erstellung von Synthesen.

中文简介正在准备中。当前显示原文说明。

ellmos-ai/skills82026年10月23日 更新

Prüfungsvorbereitung, Selbsttests, Probeklausuren und systematische Fehleranalyse.

中文简介正在准备中。当前显示原文说明。

ellmos-ai/skills82026年10月23日 更新

Acceptance & Commitment Therapy (ACT) according to Steven Hayes: Hexaflex model with the six core processes of psychological flexibility.

中文简介正在准备中。当前显示原文说明。

ellmos-ai/skills82026年10月23日 更新

Терапия принятия и ответственности (ACT) Стивенса Хейса: модель Гексафлекс с шестью ключевыми процессами психологической гибкости.

中文简介正在准备中。当前显示原文说明。

ellmos-ai/skills82026年10月23日 更新

Acceptance & Commitment Therapy (ACT) nach Steven Hayes: Hexaflex-Modell mit den sechs Kernprozessen psychischer Flexibilität.

中文简介正在准备中。当前显示原文说明。

ellmos-ai/skills82026年10月23日 更新

查看 ellmos-ai 的全部技能

报告此技能的问题