pong / cleanup.sh
chrisxx's picture
Add Neural Pong application files
8746765
raw
history blame
1.09 kB
#!/bin/bash
# Cleanup script - removes temporary files and scripts from toy-wm-hf-space
set -e
echo "๐Ÿงน Cleaning up temporary files..."
echo ""
CLEANUP_DIR="/share/u/wendler/code/toy-wm-hf-space"
if [ ! -d "$CLEANUP_DIR" ]; then
echo "โš ๏ธ Directory $CLEANUP_DIR doesn't exist, skipping cleanup"
exit 0
fi
cd "$CLEANUP_DIR"
echo "Removing temporary scripts..."
rm -f push.sh push-now.sh push-force.sh setup-git.sh setup.sh fix-remote.sh fix-and-push.sh push-to-hf.py 2>/dev/null || true
echo "Removing temporary documentation files..."
rm -f RUN_SETUP.md TROUBLESHOOTING.md SETUP_STEPS.md SETUP_GUIDE.md QUICKSTART.md START_HERE.md 2>/dev/null || true
echo "Keeping essential files:"
echo " โœ… app.py"
echo " โœ… Dockerfile"
echo " โœ… requirements.txt"
echo " โœ… README.md"
echo " โœ… DEPLOYMENT.md"
echo " โœ… SOURCE_FILES.md"
echo " โœ… .gitignore"
echo " โœ… All source code and checkpoints"
echo ""
echo "โœ… Cleanup complete!"
echo ""
echo "The toy-wm-hf-space directory still contains your files"
echo "but temporary scripts have been removed."