All the dirs exist just can t get script to swap to them
out put of ls
Code:
[sparky@localhost ~]$ ls -ld /home/sparky/backup
drwxrwxr-x 2 sparky sparky 4096 Mar 27 20:55 /home/sparky/backup
when i thought to do the script i assumed the changing dir would be the easy part and the rest would be harder how wrong i was.