Skip to content
cccskills
FreePublished on GitHub

batch-file-ops

Operaciones de archivos en lote (delete, move, copy, list) con patrones glob. Herramienta CLI para operaciones eficientes en el sistema de archivos. Sin dependencias.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md3.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Español — Versión oficial en español de batch-file-ops.

batch_file_ops - Operaciones de archivos en lote (Español)

Herramienta CLI para operaciones en lote eficientes en archivos usando patrones glob. Soporta: delete, move, copy, list. Sin dependencias (solo stdlib de Python).


Acciones

AcciónDescripción
deleteEliminar archivos que coincidan con un patrón
moveMover archivos que coincidan con un patrón
copyCopiar archivos que coincidan con un patrón
listListar archivos que coincidan con un patrón

Uso de la CLI

python batch_file_ops.py <action> <source> [<target>] --pattern "<glob>" [--dry-run] [--recursive]

Argumentos

ArgumentoDescripción
actiondelete, move, copy o list
sourceDirectorio de origen
targetDirectorio de destino (solo para move y copy)
--pattern, -pPatrón glob (p. ej., *.py, TOOLS_*.py) - Valor por defecto: *
--dry-run, -nSolo vista previa, sin realizar cambios
--recursive, -rBuscar recursivamente en subdirectorios

Ejemplos y Uso

# Listar todos los archivos de Python en un directorio
python batch_file_ops.py list /path/to/directory --pattern "*.py"

# Eliminar todos los archivos .tmp (¡primero probar con dry-run!)
python batch_file_ops.py delete /path/to/directory --pattern "*.tmp" --dry-run
python batch_file_ops.py delete /path/to/directory --pattern "*.tmp"

# Mover archivos
python batch_file_ops.py move /source /target --pattern "*.txt"

# Copiar archivos (recursivo)
python batch_file_ops.py copy /source /target --pattern "*.md" --recursive

# Ejemplos de patrones
python batch_file_ops.py delete /path --pattern "TOOLS_*.py"
python batch_file_ops.py list /path --pattern "backup_202?-*"

Notas

  • Prueba previa (Dry-run): Use siempre primero --dry-run con delete y move
  • Patrones glob: Utiliza pathlib.glob() / pathlib.rglob() de Python
  • Compatible con Windows: Codificación de salida UTF-8 automática
  • Solo archivos: Los directorios se omiten (solo se procesan archivos)

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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

The English summary is being prepared. Showing the original description.

ellmos-ai/skills8Updated Oct 22, 2026

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

The English summary is being prepared. Showing the original description.

ellmos-ai/skills8Updated Oct 22, 2026

Prüfungsvorbereitung, Selbsttests, Probeklausuren und systematische Fehleranalyse.

The English summary is being prepared. Showing the original description.

ellmos-ai/skills8Updated Oct 22, 2026

Terapia de Aceptación y Compromiso (ACT) según Steven Hayes: modelo Hexaflex con los seis procesos nucleares de la flexibilidad psicológica.

The English summary is being prepared. Showing the original description.

ellmos-ai/skills8Updated Oct 22, 2026

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

The English summary is being prepared. Showing the original description.

ellmos-ai/skills8Updated Oct 22, 2026

スティーブン・ヘイズによるアクセプタンス&コミットメント・セラピー(ACT):心理的柔軟性の6つのコアプロセスを備えたヘキサフレックス・モデル。

The English summary is being prepared. Showing the original description.

ellmos-ai/skills8Updated Oct 22, 2026

See all skills by ellmos-ai

Report a problem with this skill