added backup browse

This commit is contained in:
2025-10-09 10:17:02 -05:00
parent 08439ef942
commit 15b31a51ec

View File

@@ -10,7 +10,7 @@ fi
# --- HANDLE OPTIONS ---
BORG_PASSPHRASE=""
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
case "$opt" in
@@ -133,7 +133,7 @@ else
--height=50% \
--border \
--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% \
--delimiter='/' \
--with-nth=1..)