[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: count # files in directory



ls -1A|wc -l
ls -l directoryname | wc -w
find . -type f -maxdepth 1 | wc -l
ls -1 | wc -l
ls -A | wc

Geez everyone think there was some sort of grand prize or something? Thanks for
the replies...I guess all I needed to know is this..I feel stupid now :-(
ls *.jpg | wc -l





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]