Thread
:
Counting files in a directory that match a pattern
View Single Post
#
3
(
permalink
)
07-20-2006
aigles
Registered User
Join Date: Apr 2004
Location: Bordeaux, France
Posts: 1,072
You can also do something like this :
Code:
integer filecount=$(ls BARE01_DLY_???_$(date +%Y%m%d) 2>/dev/null | wc -l)
Jean-Pierre.
aigles
View Public Profile
Find all posts by aigles