Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // If it was: if[[$fileAction=="y"]]; then - This line would not work because of spaces
- if [[ $fileAction == "y" ]]; then
- echo "Deleting file $fileInfo..."
- rm $fileInfo
- elif [[ $fileAction == "q" ]]; then
- echo "You chose not to delete the file!"
- else
- echo "Wrong response you chose $fileAction!"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement