Skip to content
PitestsCLI & tooling

Rename files to .md extension for upload workaround

Session from clean-slides-sessions on Hugging Face by thomasmustier · MIT · condensed by Coders Talk

11ssession
0interventions
by library · 2d
GOAL

Rename all files in a folder so their extensions end in .md, to work around an upload restriction.

  1. Prompt · +0
    Rename all the files in this folder so they end in .md, since I can't upload them otherwise
  2. Agent did · +0m
    Listed folder contents, checked subdirectory, then renamed .py and .yaml files by appending .md extension via a bash loop
  3. Outcome · +0m
    Renamed 18 files from .py/.yaml to .py.md/.yaml.md, leaving already-.md files and the example-template subdirectory untouched
VERDICT

I'd probably specify upfront which file types to target, since the agent had to inspect the folder first to figure out which extensions needed changing. It handled it fine in one pass without any correction needed from me.

I tried this · 0

Discussion · 0

How Builds work