Improve script

This commit is contained in:
Loïc Guégan 2024-07-07 00:23:21 +02:00
parent 2dd01045e2
commit d1270a8821
2 changed files with 2 additions and 1 deletions

View file

@ -30,7 +30,7 @@ Important note: Depending on the system, some entries may not be available.
| kernel_config | Get kernel config | | kernel_config | Get kernel config |
| users | List logged users | | users | List logged users |
| declare | Get all shell defined variables, functions etc | | declare | Get all shell defined variables, functions etc |
| tar_\<path\> | Contains specific files/directory backup (tar archive) | | tar_\<path\> | Contains specific files/directory backup (tar archives) |
# Notes # Notes
- Some commands require root permissions. If `sysdump.sh` is not run - Some commands require root permissions. If `sysdump.sh` is not run

View file

@ -239,6 +239,7 @@ then
fi fi
while IFS= read -r entry; do while IFS= read -r entry; do
echo "====================> $entry" echo "====================> $entry"
[[ "$entry" =~ ^"tar_" ]] && echo "Skipping, its a tar archive" && continue
safegetentry ${entry} safegetentry ${entry}
done <<< "${DUMP_ENTRIES}" done <<< "${DUMP_ENTRIES}"
exit 0 exit 0