From 8625b5a8748a5c120904c31ec08bd2a5736a008b Mon Sep 17 00:00:00 2001 From: Antonio Karlo Mijares Date: Fri, 31 Jul 2020 15:32:16 -0400 Subject: [PATCH] Added home message Lets users just backup to their home directory for easy access. --- backup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backup.sh b/backup.sh index db717bd..abd62ef 100755 --- a/backup.sh +++ b/backup.sh @@ -6,7 +6,8 @@ if [ $EUID != 0 ]; then fi # Asks for dir and check if it exists. -read -p "Enter full dir of where the backups will be located: " backupdir +echo "Note: This will be in your home directory" +read -p "Enter the folder name of where the backups will be located: " backupdir # Checks and creates dir if needed [ ! -d $HOME/"$backupdir" ] && mkdir -p $HOME/"$backupdir"