Replace
Code:
if [ $choice -eq 0 ] ; then cd
/home/sparky/backup
With one line:
Code:
if [ $choice -eq 0 ] ; then cd /home/sparky/backup
If you type command /home/sparky/backup at a shell prompt you will always get error:
bash: /home/sparky/backup: is a directory
Same with shell script so just put it on one line.