borglist cosmé&tique
This commit is contained in:
parent
b12a337679
commit
d62a0ee43a
@ -226,8 +226,13 @@ Borgumount() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Borglist() {
|
Borglist() {
|
||||||
|
BORG_LIST_BACKUPS=/tmp/borglistbackups.txt
|
||||||
LogFic "Borg list demandé"
|
LogFic "Borg list demandé"
|
||||||
borg list --short ${BORG_REPO}
|
borg list --short ${BORG_REPO} >${BORG_LIST_BACKUPS}
|
||||||
|
cat ${BORG_LIST_BACKUPS}
|
||||||
|
echo " --- Nombre de backups"
|
||||||
|
cat ${BORG_LIST_BACKUPS} | wc -l
|
||||||
|
rm ${BORG_LIST_BACKUPS}
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user