added backup browse
This commit is contained in:
@@ -10,7 +10,7 @@ fi
|
|||||||
# --- HANDLE OPTIONS ---
|
# --- HANDLE OPTIONS ---
|
||||||
BORG_PASSPHRASE=""
|
BORG_PASSPHRASE=""
|
||||||
SHOW_FOLDERS_ONLY=false
|
SHOW_FOLDERS_ONLY=false
|
||||||
SHOW_FILES=true # Default to showing files and directories
|
SHOW_FILES=false # Default to showing files and directories
|
||||||
|
|
||||||
while getopts "k:fp" opt; do
|
while getopts "k:fp" opt; do
|
||||||
case "$opt" in
|
case "$opt" in
|
||||||
@@ -133,7 +133,7 @@ else
|
|||||||
--height=50% \
|
--height=50% \
|
||||||
--border \
|
--border \
|
||||||
--prompt="Select directories to restore: " \
|
--prompt="Select directories to restore: " \
|
||||||
--preview "tree -C -d -L 5 $MOUNT_POINT/$(dirname {})" \
|
--preview "tree -C -d -L 3 $MOUNT_POINT/$(dirname {})" \
|
||||||
--preview-window=right:50% \
|
--preview-window=right:50% \
|
||||||
--delimiter='/' \
|
--delimiter='/' \
|
||||||
--with-nth=1..)
|
--with-nth=1..)
|
||||||
|
|||||||
Reference in New Issue
Block a user