File size: 418 Bytes
3c5f304
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 . . ."