set +v | |
git clone https://huggingface.co/hhks/PonyXL_Styles_Backup --bare | |
git --git-dir=PonyXL_Styles_Backup.git fetch origin +refs/heads/*:refs/heads/* --prune | |
git --git-dir=PonyXL_Styles_Backup.git ls-tree --full-name --name-only -r HEAD | grep -E ".*\.safetensors" > Repo_list.txt | |
rm -r ./PonyXL_Styles_Backup.git/ | |
echo | |
echo | |
echo | |
echo List of .safetensors files saved in Repo_list.txt | |
echo | |
echo | |
echo | |
read -s -n 1 -p "Press any key to continue . . ." |