diff options
| author | Loïc Guégan <loic.guegan@mailbox.org> | 2024-07-07 00:23:21 +0200 |
|---|---|---|
| committer | Loïc Guégan <loic.guegan@mailbox.org> | 2024-07-07 00:23:21 +0200 |
| commit | d1270a8821818e2d4bf7b2913e2d356507b564fc (patch) | |
| tree | 1de739c66aa61f767bed2697876ea4f842866ff4 | |
| parent | 2dd01045e2da1115db11267d62d748eeee99772e (diff) | |
Improve script
| -rw-r--r-- | README.md | 2 | ||||
| -rwxr-xr-x | sysdump.sh | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -30,7 +30,7 @@ Important note: Depending on the system, some entries may not be available. | kernel_config | Get kernel config | | users | List logged users | | 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 - Some commands require root permissions. If `sysdump.sh` is not run @@ -239,6 +239,7 @@ then fi while IFS= read -r entry; do echo "====================> $entry" + [[ "$entry" =~ ^"tar_" ]] && echo "Skipping, its a tar archive" && continue safegetentry ${entry} done <<< "${DUMP_ENTRIES}" exit 0 |
