adding 2 functions : bobalstimes and bobainfotail
bobalstimes : list all archives with time creation bobainfotail : list infos about the 5 last archives
This commit is contained in:
parent
9e5f5f8469
commit
9e47583883
@ -104,11 +104,14 @@ function bobals {
|
||||
TestBorgRepo
|
||||
if [ "$TestBorgErr" = "1" ]; then return;fi
|
||||
|
||||
if [ "$1" != "" ]; then
|
||||
borg list --short .::$1
|
||||
else
|
||||
borg list --short ./
|
||||
fi
|
||||
}
|
||||
|
||||
function bobalstimes {
|
||||
TestBorgRepo
|
||||
if [ "$TestBorgErr" = "1" ]; then return;fi
|
||||
|
||||
borg list --format {barchive}{SPACE}{SPACE}{TAB}{start}{NL} ./
|
||||
}
|
||||
|
||||
function bobagrepls {
|
||||
@ -140,6 +143,17 @@ function bobainfolast {
|
||||
borg info .::$archive
|
||||
}
|
||||
|
||||
function bobainfotail {
|
||||
TestBorgRepo
|
||||
if [ "$TestBorgErr" = "1" ]; then return;fi
|
||||
|
||||
for archive in $(borg list --short ./ | tail -n 5);do
|
||||
echo "----------------------------------------------------"
|
||||
borg info .::$archive
|
||||
echo "----------------------------------------------------"
|
||||
done
|
||||
}
|
||||
|
||||
function bobainfoall {
|
||||
TestBorgRepo
|
||||
if [ "$TestBorgErr" = "1" ]; then return;fi
|
||||
|
Loading…
Reference in New Issue
Block a user