⇤ ← Revision 1 as of 2008-11-17 12:01:39
Size: 382
Comment:
|
Size: 575
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
Program a function that walks through a directory tree and collects the pathnames and sizes of all files of a certain types. Write a function that sorts the results of the first function according to the size of the files. | * Write a function that walks through a directory tree and collects the pathnames and sizes of all files of a certain types. * Write a function that sorts the results of the first function according to the size of the files. * Combine both functions in a script which can be called from the bash. * Optional: limit the resulting list to the top10 sizes * Optional: automatically compress the largest files |
- Write a function that walks through a directory tree and collects the pathnames and sizes of all files of a certain types.
- Write a function that sorts the results of the first function according to the size of the files.
- Combine both functions in a script which can be called from the bash.
- Optional: limit the resulting list to the top10 sizes
- Optional: automatically compress the largest files