agentsclimarketplace

Batch file ops

Skill ellmos-ai/skills/skills/utilities/batch-file-ops

Portable SKILL.md library for Claude Code, Codex-compatible agents, BACH, and local-first LLM workflows

Install
npx -y skills add ellmos-ai/skills --skill batch-file-ops

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Batch-Dateioperationen (delete, move, copy, list) mit Glob-Patterns. CLI-Tool fuer effiziente Dateisystem-Operationen. Zero Dependencies.

SKILL.md

2.7 KB, as published. Nobody here has run it

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)

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.