Hi all!
Is there a easy and cool way to count files in a
directory and it's subdirectorys?
I already have 'ls -R1 | wc -l' but i don't think thats
really it. Isn't there a much cooler way to get an int
value that counts the files?
+ It shouldn't be very process intensive,
cause the function is used on a website and
the amount of files is 7000 >= !!!!!!
So 'ls' isn't the best way, is it?!
bye and thanks for help
lazlo
Is there a easy and cool way to count files in a
directory and it's subdirectorys?
I already have 'ls -R1 | wc -l' but i don't think thats
really it. Isn't there a much cooler way to get an int
value that counts the files?
+ It shouldn't be very process intensive,
cause the function is used on a website and
the amount of files is 7000 >= !!!!!!
So 'ls' isn't the best way, is it?!
bye and thanks for help
lazlo