CUXL / gc.sh
zuv0's picture
Update gc.sh
5bca8ee verified
raw
history blame contribute delete
398 Bytes
#!/bin/bash
FLAG_1=$1
cd /workspace
rm -rf output
rm -rf outputs
rm -f out*.tar*
rm -f out*.zip*
rm -f comfy*.log
cd *
rm -rf output
rm -rf outputs
rm -f out*.tar*
rm -f out*.zip*
rm -f comfy*.log
cd CU
rm -rf output
rm -rf outputs
rm -f comfy*.log
if [ "$FLAG_1" = "1" ]; then
rm -rf ./temp/*
sudo rm -rf /tmp/*
pip cache purge
else
find /tmp -mtime +2 -delete
fi
cd /workspace
cd *