This repo includes a helper workflow to gather selected files into a single upload folder for the ChatGPT web file picker.
- Manifest:
.chatgpt-files - Builder:
scripts/build-chatgpt-upload.sh - Output (generated):
.chatgpt-upload/
Edit .chatgpt-files with one repo-relative file path per line. Blank lines and lines whose first non-space character is # are ignored.
Rebuild staging output:
# Preferred: symlink mode (default) for live alignment to current repo files
bash scripts/build-chatgpt-upload.sh
# Fallback: copy mode if Windows upload behavior is inconsistent with WSL symlinks
bash scripts/build-chatgpt-upload.sh --mode copyOpen the staging folder in Windows Explorer from WSL:
explorer.exe "$(wslpath -w "$PWD/.chatgpt-upload")"Symlink mode is preferred because staged entries track current source files. Use copy mode when browser/file picker behavior with WSL symlinks is unreliable.