Differences between revisions 1 and 2
Revision 1 as of 2008-11-17 12:01:39
Size: 382
Editor: anonymous
Comment:
Revision 2 as of 2008-11-17 12:04:23
Size: 575
Editor: anonymous
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

LehreWiki: Python/Exercise3 (last edited 2008-11-17 14:51:36 by anonymous)