Commit ·
c967900
1
Parent(s): 7941b7a
Corrected folder structure and added .gitkeep placeholders
Browse files- hf-folder-setup.sh +21 -0
hf-folder-setup.sh
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/data/data/com.termux/files/usr/bin/bash
|
| 2 |
+
|
| 3 |
+
# Define correct folder structure
|
| 4 |
+
declare -a FOLDERS=(
|
| 5 |
+
"system_prompts/Mistral"
|
| 6 |
+
"system_prompts/Mistral_reasoning"
|
| 7 |
+
"system_prompts/QwQ"
|
| 8 |
+
"soft_prompts/Mistral"
|
| 9 |
+
"soft_prompts/Mistral_reasoning"
|
| 10 |
+
"soft_prompts/QwQ"
|
| 11 |
+
"SillyTavern_configs"
|
| 12 |
+
)
|
| 13 |
+
|
| 14 |
+
# Create each folder and add a .gitkeep file
|
| 15 |
+
for dir in "${FOLDERS[@]}"; do
|
| 16 |
+
mkdir -p "$dir"
|
| 17 |
+
chmod 755 "$dir"
|
| 18 |
+
touch "$dir/.gitkeep"
|
| 19 |
+
done
|
| 20 |
+
|
| 21 |
+
echo "✅ Folder structure created successfully with .gitkeep placeholders!"
|