hi all,

done a while true loop

echo "please enter in multiple files/folders you want to copy to $mnt"
while true; do
        read -e path
        echo $path >> /scripts/path
done

it works but now once the user has entered in all the paths he wants i want them to press ctrl+q to exit out the loop and then continue on with the script

thanks,
rob

1 Spice up

this will do

4. Break an Infinite “while” Loop Based on User Input

2 Spice ups