in reply to Parsing current and sub-directories and prints out all files found from largest size to smallest

I can't point to any scripts like this offhand.

If I were writing this script, I'd use File::Find to traverse all the directories, -s $file to get the file size, store the results to a hash, and sort by size after the traversal is done.

-Mark

  • Comment on Re: Parsing current and sub-directories and prints out all files found from largest size to smallest
  • Download Code