>Are you doing this to avoid the mkdir if the directory you are creating >already exists? If so, then the is an option -p which means it is not an >error if the directory already exists. It also creates parent >directories as needed, so: > > mkdir -p $newPath/Sound/MP3 > mkdir -o $newpath/Sound/wav > >will do what you want without the need to test. >(BTW, it's forward slashes / in Linux, not backslahes!) >Of course, I may have misunderstood what you are trying to achieve. > >Regards, >Tony.
Thanx I will try the -p option. As I understand it the \ is to pipe whatever onto what is infront of the \ so it reads Get the Variable and Pipe the following onto it ... You have understood my question... Thanx -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/