Fix
This commit is contained in:
parent
a04065a56c
commit
00c57cbd65
@ -79,7 +79,11 @@ read -p "Select option: " OPTION
|
|||||||
|
|
||||||
case $OPTION in
|
case $OPTION in
|
||||||
1)
|
1)
|
||||||
rclone ls "${REMOTE_NAME}:" --max-depth 1
|
DEFAULT_DEPTH=2
|
||||||
|
echo -e "${YELLOW}Listing files...${NC}"
|
||||||
|
read -p "Enter depth (default $DEFAULT_DEPTH): " DEFAULT_DEPTH
|
||||||
|
|
||||||
|
rclone ls "${REMOTE_NAME}:" --max-depth "$DEFAULT_DEPTH"
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
read -p "Enter local folder to upload from (e.g., $HOME/Documents): " LOCAL_FOLDER
|
read -p "Enter local folder to upload from (e.g., $HOME/Documents): " LOCAL_FOLDER
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user