OK to start this is not homework just a play around script for work.
Here is what I need to do. I have a simple text file with directories listed in it. the directories are broken into 4 sections.
I need to read each section and get a total space used of the directories listed. There will be directories not listed so that will be the others.
The requirements I need is to
A. Know the total size of volume I am working with
B. Know the total size of all the directories on each section.
C. Take the total from "B" and subtract from "A" to get "C"
The most I have is getting directory size but only from current I know very little of perl and if some direction can be given I will start putting together and posting what I came up with I just need direction.
Thanks in advance.