[Typo3-debian] OT/newbie: number of file in dir
Luite van Zelst
luite at aegee.org
Thu Jun 12 16:29:17 CEST 2003
Hi!
there was a post on the user list asking if 23000 files in typo3temp/ was
much and if other people had that many files.
but how to retrieve the number of files... hm... never actually did that
before!
COUNT=0;for FILE in `find ./`; do ((COUNT++)); done; echo $COUNT
is a working solution (in bash), but hey - there should be an easier way.
I suppose I'm missing the obvious here?
Luite.
-----------------------------------------------
AEGEE-Utrecht - De Europese Studentenvereniging
More information about the TYPO3-debian
mailing list