Use interactive shell for input

This allows tab completion for path entering
This commit is contained in:
Laborratte5 2023-08-14 22:17:38 +02:00
parent 86c20d84b4
commit 634d4dcc65
Signed by: Laborratte5
GPG key ID: 3A30072E35202C02

View file

@ -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)