Can I get help fixing my code to count every subdirectory (excluding "PATH" itself)?
num_directories=$( find $dir -type d | wc -l)
Also need help fixing the total byte count of each file
total_size=$( find $dir -type f -ls | awk '{total+=5}END{print total}';)
I understand you won't have access to the same files but I think the code with the calculations would be the same.