Use interactive shell for input
This allows tab completion for path entering
This commit is contained in:
parent
86c20d84b4
commit
634d4dcc65
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
read -p "Drive to backup: " DRIVE_TO_BACKUP
|
||||
read -p "Location of backup: " BACKUP_LOCATION
|
||||
read -e -p "Drive to backup: " DRIVE_TO_BACKUP
|
||||
read -e -p "Location of backup: " BACKUP_LOCATION
|
||||
|
||||
DEVICE_NAME=$(basename $DRIVE_TO_BACKUP)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue