Unanswered: disk space used for a few files in few directories
I am new to shell scripting and have a k shell. I need to develop a script wherein it should give an output of the total disk space used for certain no. of files within certain directories.
The main directory is fileserver01, under which I have different directories with names say.. dir1, dir2,dir3,dir4,dir5. under each of these, there are different files. My question is... I need to get the amont of space used for the files(excluding files starting with del.*) in each of dir1,dir2 and dir3.