hhks commited on
Commit
3c5f304
1 Parent(s): 9af216e

Upload 4 files

Browse files
.Download_Helper/list_repo_files.bat ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+
3
+ call git clone https://huggingface.co/hhks/PonyXL_Styles_Backup --bare
4
+
5
+ call git --git-dir=PonyXL_Styles_Backup.git fetch origin +refs/heads/*:refs/heads/* --prune
6
+
7
+ call git --git-dir=PonyXL_Styles_Backup.git ls-tree --full-name --name-only -r HEAD | findstr "safetensors" > Repo_list.txt
8
+
9
+ RMDIR /S /Q .\PonyXL_Styles_Backup.git\
10
+
11
+ ECHO.
12
+ ECHO.
13
+ ECHO.
14
+ ECHO List of .safetensors files saved in Repo_list.txt
15
+ ECHO.
16
+ ECHO.
17
+ ECHO.
18
+
19
+ pause
.Download_Helper/list_repo_files.sh ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ set +v
2
+
3
+ git clone https://huggingface.co/hhks/PonyXL_Styles_Backup --bare
4
+
5
+ git --git-dir=PonyXL_Styles_Backup.git fetch origin +refs/heads/*:refs/heads/* --prune
6
+
7
+ git --git-dir=PonyXL_Styles_Backup.git ls-tree --full-name --name-only -r HEAD | grep -E ".*\.safetensors" > Repo_list.txt
8
+
9
+ rm -r ./PonyXL_Styles_Backup.git/
10
+
11
+ echo
12
+ echo
13
+ echo
14
+ echo List of .safetensors files saved in Repo_list.txt
15
+ echo
16
+ echo
17
+ echo
18
+
19
+ read -s -n 1 -p "Press any key to continue . . ."
.Download_Helper/sparse_checkout.bat ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+
3
+ ECHO Input the name of the folders (or files) to checkout separated by spaces.
4
+
5
+ call set /P "folders=Folders: "
6
+
7
+ call git clone -n --depth=1 --filter=tree:0 https://huggingface.co/hhks/PonyXL_Styles_Backup
8
+
9
+ call cd PonyXL_Styles_Backup
10
+
11
+ call git sparse-checkout set --no-cone %folders%
12
+
13
+ call git checkout
14
+
15
+ ECHO.
16
+ ECHO.
17
+ ECHO.
18
+ ECHO Selected files/folders downloaded
19
+ ECHO.
20
+ ECHO.
21
+ ECHO.
22
+
23
+ pause
.Download_Helper/sparse_checkout.sh ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ set +v
2
+
3
+ echo Input the name of the folders \(or files\) to checkout separated by spaces.
4
+
5
+ read -p "Folders: " folders
6
+
7
+
8
+ git clone -n --depth=1 --filter=tree:0 https://huggingface.co/hhks/PonyXL_Styles_Backup
9
+ cd PonyXL_Styles_Backup
10
+
11
+ git sparse-checkout set --no-cone $folders
12
+
13
+ git checkout
14
+
15
+ cd ..
16
+
17
+ echo
18
+ echo
19
+ echo
20
+ echo Selected files/folders downloaded
21
+ echo
22
+ echo
23
+ echo
24
+
25
+ read -s -n 1 -p "Press any key to continue . . ."