hornetbloke
Technical User
Got a strange one on a Solaris 6 machine. As part of the script I want to cd into a directory and tar the contents without the / and directory name in front of it.
I'm using the absolute pathname of the cd command but for some reason it just doesn't work. I put echo `pwd` straight after it and I can see from that that it isnb't working.
Has anyone come across this problem before?
Or is there another way of tarring the contents of a directory without including the /<dir name>?
I'm using the absolute pathname of the cd command but for some reason it just doesn't work. I put echo `pwd` straight after it and I can see from that that it isnb't working.
Has anyone come across this problem before?
Or is there another way of tarring the contents of a directory without including the /<dir name>?