Alex Handlovits
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
lgsm/functions/info_distro.sh
|
@ -205,7 +205,7 @@ if [ -d "${backupdir}" ]; then |
|
|
# number of backups. |
|
|
# number of backups. |
|
|
backupcount=$(find "${backupdir}"/*.tar.gz | wc -l) |
|
|
backupcount=$(find "${backupdir}"/*.tar.gz | wc -l) |
|
|
# most recent backup. |
|
|
# most recent backup. |
|
|
lastbackup=$(find "${backupdir}"/*.tar.gz | head -1) |
|
|
lastbackup=$(find "${backupdir}"/*.tar.gz | tail -1) |
|
|
# date of most recent backup. |
|
|
# date of most recent backup. |
|
|
lastbackupdate=$(date -r "${lastbackup}") |
|
|
lastbackupdate=$(date -r "${lastbackup}") |
|
|
# no of days since last backup. |
|
|
# no of days since last backup. |
|
|