@echo off | |
call git clone https://huggingface.co/hhks/PonyXL_Styles_Backup --bare | |
call git --git-dir=PonyXL_Styles_Backup.git fetch origin +refs/heads/*:refs/heads/* --prune | |
call git --git-dir=PonyXL_Styles_Backup.git ls-tree --full-name --name-only -r HEAD | findstr "safetensors" > Repo_list.txt | |
RMDIR /S /Q .\PonyXL_Styles_Backup.git\ | |
ECHO. | |
ECHO. | |
ECHO. | |
ECHO List of .safetensors files saved in Repo_list.txt | |
ECHO. | |
ECHO. | |
ECHO. | |
pause |