Hi there --
Thanks for your reply. I inserted the following if...else statement in the script:
# Confirm the directory that was entered is the correct one
echo "Is this the correct directory? [y/n]"
if ["$read" = "y"]; then
When I run the script, I am prompted for the directory, but after I insert the data, I get the following error message:
Please enter the full path of the directory:
Is this the correct directory? [y/n]
./encrypted_tar_backup: test: A ] character is missing.
I didn't mention this earlier, but I am currently using the sh shell within the script.