4 ms·
You can drop multiple files onto a project at once - I had to rename my .rst files to .rst.txt in order for that to work (GPT-4o zsh snippet): for file in
by simonw 2y ago
You can drop multiple files onto a project at once - I had to rename my .rst files to .rst.txt in order for that to work (GPT-4o zsh snippet):
for file in *.rst; do mv "$file" "${file%.rst}.rst.txt"; done
My https://github.com/simonw/files-to-prompt https://github.com/simonw/files-to-prompt tool might also be useful here, for turning a bunch of different files into a single file to upload.
- SushiHippie 2y agoEven easier, zsh provides zmv for that: autoload -U zmv zmv '(*.rst)' '$1.txt'