Spaces:
Paused
Paused
Update start.sh
Browse files
start.sh
CHANGED
|
@@ -163,16 +163,16 @@ print_tree_simple() {
|
|
| 163 |
local dir="$1"
|
| 164 |
echo "── $dir"
|
| 165 |
if [ -d "$dir" ]; then
|
| 166 |
-
find "$dir" -maxdepth
|
| 167 |
if [ "${DEPTH}" -gt 1 ]; then
|
| 168 |
while IFS= read -r d; do
|
| 169 |
if [ -d "$dir/$d" ]; then
|
| 170 |
echo " ├─ $d/"
|
| 171 |
-
find "$dir/$d" -maxdepth
|
| 172 |
else
|
| 173 |
echo " ├─ $d"
|
| 174 |
fi
|
| 175 |
-
done < <(find "$dir" -maxdepth
|
| 176 |
fi
|
| 177 |
else
|
| 178 |
echo " (inexistente)"
|
|
@@ -180,6 +180,7 @@ print_tree_simple() {
|
|
| 180 |
}
|
| 181 |
echo "🔎 Estrutura simples de /app e /data"
|
| 182 |
print_tree_simple /app/
|
|
|
|
| 183 |
print_tree_simple /app/.cache
|
| 184 |
print_tree_simple /app/ckpts
|
| 185 |
print_tree_simple /app/VINCIE
|
|
|
|
| 163 |
local dir="$1"
|
| 164 |
echo "── $dir"
|
| 165 |
if [ -d "$dir" ]; then
|
| 166 |
+
find "$dir" -maxdepth 3 -mindepth 1 -printf "%f\n" | sort || true
|
| 167 |
if [ "${DEPTH}" -gt 1 ]; then
|
| 168 |
while IFS= read -r d; do
|
| 169 |
if [ -d "$dir/$d" ]; then
|
| 170 |
echo " ├─ $d/"
|
| 171 |
+
find "$dir/$d" -maxdepth 3 -mindepth 1 -printf " │ %f\n" | sort || true
|
| 172 |
else
|
| 173 |
echo " ├─ $d"
|
| 174 |
fi
|
| 175 |
+
done < <(find "$dir" -maxdepth 3 -mindepth 1 -printf "%f\n" | sort)
|
| 176 |
fi
|
| 177 |
else
|
| 178 |
echo " (inexistente)"
|
|
|
|
| 180 |
}
|
| 181 |
echo "🔎 Estrutura simples de /app e /data"
|
| 182 |
print_tree_simple /app/
|
| 183 |
+
|
| 184 |
print_tree_simple /app/.cache
|
| 185 |
print_tree_simple /app/ckpts
|
| 186 |
print_tree_simple /app/VINCIE
|