xiaohongshu
xiaohongshu
cross-repo-sync
Sync files between BobTheSkull5 and BobFast5 repositories, especially audio files and shared components. Use when syncing audio, copying static files, or managing dual-repo workflow.
Full skill instructions
Handles syncing files between BobTheSkull5 and BobFast5 repositories, particularly audio files and shared components.
BobTheSkull5 (Main repo):
BobFast5 (Legacy/Testing repo):
Greetings:
From: BobTheSkull5/audio/static/greetings/
To: BobFast5/audio/static/greetings/
Startup:
From: BobTheSkull5/audio/static/startup/
To: BobFast5/audio/static/startup/
Testing:
From: BobTheSkull5/audio/static/testing/
To: BobFast5/audio/static/testing/
Copy single file:
copy "BobTheSkull5\audio\static\testing\filename.mp3" "BobFast5\audio\static\testing\"
Copy all files in directory:
xcopy "BobTheSkull5\audio\static\greetings\*.mp3" "BobFast5\audio\static\greetings\" /Y
Sync entire audio tree:
xcopy "BobTheSkull5\audio\static" "BobFast5\audio\static" /E /Y
Copy single file:
cp "BobTheSkull5/audio/static/testing/filename.mp3" "BobFast5/audio/static/testing/"
Copy all MP3s:
cp BobTheSkull5/audio/static/greetings/*.mp3 BobFast5/audio/static/greetings/
Sync with rsync:
rsync -av BobTheSkull5/audio/static/ BobFast5/audio/static/
Check current directory:
pwd # Should be in parent directory containing both repos
ls # Should see both BobTheSkull5 and BobFast5
Verify source files exist:
ls BobTheSkull5/audio/static/testing/*.mp3
Verify destination directory exists:
ls BobFast5/audio/static/testing/
Perform sync with confirmation:
# Windows - shows files before copying
dir "BobTheSkull5\audio\static\testing\*.mp3"
xcopy "BobTheSkull5\audio\static\testing\*.mp3" "BobFast5\audio\static\testing\" /Y
Verify sync succeeded:
ls BobFast5/audio/static/testing/
When generating new audio files:
Generate in BobTheSkull5:
cd BobTheSkull5
python generate_greeting_audio.py
# or
python generate_startup_audio.py
Verify generated files:
ls audio/static/greetings/ # Check new files exist
Sync to BobFast5:
cd .. # Go to parent directory
cp BobTheSkull5/audio/static/greetings/*.mp3 BobFast5/audio/static/greetings/
Test in BobFast5:
cd BobFast5
# Run tests or play audio
The deploy_to_pi.bat script handles syncing to Raspberry Pi:
# From BobTheSkull5 directory
deploy_to_pi.bat
This copies:
Never copy these:
.git/ directoriesvenv/, .venv/)__pycache__/ directories.pyc files.env, config.yaml)*.db, *.sqlite)logs/)facedata/)EmbeddingsDB/, LongTermDB/)Only sync specific audio categories:
REM Greetings only
xcopy "BobTheSkull5\audio\static\greetings\*.mp3" "BobFast5\audio\static\greetings\" /Y
REM Testing files only
xcopy "BobTheSkull5\audio\static\testing\*.mp3" "BobFast5\audio\static\testing\" /Y
REM Startup sounds only
xcopy "BobTheSkull5\audio\static\startup\*.mp3" "BobFast5\audio\static\startup\" /Y
Usually sync is one-way: BobTheSkull5 → BobFast5
Reverse sync (BobFast5 → BobTheSkull5) is rare and should be done carefully:
cd /c/Users/Knarl/Code
cp BobTheSkull5/audio/static/greetings/*.mp3 BobFast5/audio/static/greetings/
cd /c/Users/Knarl/Code
cp BobTheSkull5/audio/static/testing/*.mp3 BobFast5/audio/static/testing/
cd /c/Users/Knarl/Code/BobTheSkull5
cmd /c deploy_to_pi.bat
cd /c/Users/Knarl/Code
rsync -av --include='*.mp3' --include='*.wav' --include='*/' --exclude='*' \
BobTheSkull5/audio/static/ BobFast5/audio/static/
@echo off
REM sync_audio.bat - Sync all audio files
REM Usage: sync_audio.bat
echo Syncing audio files from BobTheSkull5 to BobFast5...
echo [1/3] Syncing greetings...
xcopy "%CD%\BobTheSkull5\audio\static\greetings\*.mp3" "%CD%\BobFast5\audio\static\greetings\" /Y /Q
echo [2/3] Syncing startup sounds...
xcopy "%CD%\BobTheSkull5\audio\static\startup\*.mp3" "%CD%\BobFast5\audio\static\startup\" /Y /Q
echo [3/3] Syncing testing audio...
xcopy "%CD%\BobTheSkull5\audio\static\testing\*.mp3" "%CD%\BobFast5\audio\static\testing\" /Y /Q
echo.
echo Sync complete!
pause
Check file counts match:
# Linux/Git Bash
diff <(ls BobTheSkull5/audio/static/greetings/) <(ls BobFast5/audio/static/greetings/)
# Windows PowerShell
Compare-Object (Get-ChildItem BobTheSkull5\audio\static\greetings) (Get-ChildItem BobFast5\audio\static\greetings)
Check file sizes match:
# Linux/Git Bash
ls -lh BobTheSkull5/audio/static/greetings/*.mp3
ls -lh BobFast5/audio/static/greetings/*.mp3
"File not found" error:
pwd or cdls BobTheSkull5/audio/static/testing/"Permission denied" error:
Files don't appear after copy:
ls BobFast5/audio/static/testing/Wrong files copied:
/Y flag to overwrite without prompting*.mp3 not * to avoid copying unwanted filesxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience