set +v | |
echo Input the name of the folders \(or files\) to checkout separated by spaces. | |
read -p "Folders: " folders | |
git clone -n --depth=1 --filter=tree:0 https://huggingface.co/hhks/PonyXL_Styles_Backup | |
cd PonyXL_Styles_Backup | |
git sparse-checkout set --no-cone $folders | |
git checkout | |
cd .. | |
echo | |
echo | |
echo | |
echo Selected files/folders downloaded | |
echo | |
echo | |
echo | |
read -s -n 1 -p "Press any key to continue . . ." |