Re: file/package counter

2004-11-16 Thread K-sPecial
Tshepang Lekhonkhobe wrote: Hi, Is there any package that enables one to count the number of files in a directory(s) and/or number of packages installed on a system. Thanks... Well to figure out how many files in a directory (not including directories and not including files in sub directories:

Re: file/package counter

2004-11-16 Thread Chris Lale
On Tue, 2004-11-16 at 14:04, Tshepang Lekhonkhobe wrote: > Hi, > Is there any package that enables one to count the number of files in a > directory(s) and/or number of packages installed on a system. Thanks... The bottom of my Synaptic window shows: 15015 packages listed, 972 installed, 0 broken

Re: file/package counter

2004-11-16 Thread Matt Zagrabelny
> As for the number of files in a directory. If you are just looking for > the individual directory a > > ls -l | wc -l > > will give you the number of files in a directory. If you wanted to > recurs and find out how many total file in a directory and all sub > directories you may need to write

Re: file/package counter

2004-11-16 Thread Rick Friedman
Derek "The Monkey" Wueppelmann wrote: On Tue, 2004-11-16 at 09:04, Tshepang Lekhonkhobe wrote: Hi, Is there any package that enables one to count the number of files in a directory(s) and/or number of packages installed on a system. Thanks... You could always try: dpkg -l |wc -l and subtrack thre

Re: file/package counter

2004-11-16 Thread Derek \"The Monkey\" Wueppelmann
On Tue, 2004-11-16 at 09:04, Tshepang Lekhonkhobe wrote: > Hi, > Is there any package that enables one to count the number of files in a > directory(s) and/or number of packages installed on a system. Thanks... You could always try: dpkg -l |wc -l and subtrack three from that number for the thr