Rename files to .md extension for upload workaround
Session from clean-slides-sessions on Hugging Face by thomasmustier · MIT · condensed by Coders Talk
Click a segment to jump to that moment
11ssession
0interventions
GOAL
Rename all files in a folder so their extensions end in .md, to work around an upload restriction.
- +0Prompt · +0Rename all the files in this folder so they end in .md, since I can't upload them otherwise
- +0mAgent did · +0mListed folder contents, checked subdirectory, then renamed .py and .yaml files by appending .md extension via a bash loop
- +0mOutcome · +0mRenamed 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.