I'm sorry, I thought my firt question was clear:

Quote:

I want to scan the size of the users HomeDirs in our HomeDirs folder, sort all folders by size and write the 3 biggest folders' name and size in a textfile.




So, now I have almost all of it, only the selection of the 10 biggest folders (okay, instead of 3) is missing.

Using counters ? I'm afraid I do not know how to do so. If I did, I wouldn't be asking on this forum, would I?