384
edits
Changes
→Overview: du Improved
</pre>
Notice that total size of the target directory (/usr/local/lib) is around 260 Megabytes. Of that 260 Megabytes, 160 Megabytes can be found in the heroku subdirectory. 160 MB represents 61% of the total 160 MB. The percentages don't have to add up to 100%, since with these arguments we are excluding files in the target directory. You may choose to add an option to your script to print files as well. The details output of each subdirectory should include percentage, size in bytes (or Human readable if the user uses the -H option), the bar chart and the name of the subdirectory. Specific formatting of the final output will be up to you, but you should be formatted in such a way that the output is easy to read. (ie. use columns!) You will be required to fulfill some specific requirements before completing your script. Read on...
= Assignment Requirements =