Thread Tools
Old 11-06-2010, 08:53 PM
Charter Member
Join Date: Jan 2000
Location: NoWA
Posts: 57,897
How many files do I have on my computer?

Though I use a Mac, I decided to d/l the trial version of MacScan to see if I have any malware on my computer. As I type this, it has scanned 116,000 files. (Zero spyware processes detected, 6 tracking cookies, Zero spyware files.) I wonder how many more files there are to go?

I'm running OS 10.4.7 on a non-Intel machine. Is there anywhere I can look on it that will tell me how many files I have?
Old 11-06-2010, 09:45 PM
Member
Join Date: May 2001
Location: Scottsdale, more-or-less
Posts: 15,014
I don't think there is a fast way to do this with the GUI. You can always use something like Grand Perspective, but that will take some time also. You probably have many hundreds of thousands of files on your boot drive - maybe a million of more.
Old 11-06-2010, 09:46 PM
Charter Member
Join Date: Jan 2000
Location: NoWA
Posts: 57,897
That many? Not to 150,000 yet...
Old 11-06-2010, 10:23 PM
Member
Join Date: Apr 2001
Location: NH
Posts: 21,867
Quote:
Originally Posted by Johnny L.A. View Post
That many? Not to 150,000 yet...
Maybe, maybe not. Depends on how big your hard drive is, and how much of it is filed. For example, I have about 250GB filled on a 320GB hard drive, and there are aproximately 700,000 files. (and yes, I know this from scanning the drive for errors/spyware) If you have a smaller drive, or bigger files - I have thousands of files under 100kb that are text docs and things for games - you might have fewer to scan.
Old 11-06-2010, 10:27 PM
Charter Member
Join Date: Jan 2000
Location: NoWA
Posts: 57,897
This is an old machine (2005) so it only has a 100GB hard drive. It's about 95% filled.
Old 11-06-2010, 10:36 PM
Member
Join Date: May 2001
Location: Scottsdale, more-or-less
Posts: 15,014
Well, I have around 300,000 files just in /System and /Library, and that doesn't even start to get to all the files that I have in my Users directory.
Old 11-06-2010, 10:36 PM
Guest
Join Date: Apr 2008
Posts: 3,847
I have 700,000 files on 350 gigs with about 20gigs free, but mine is really junky and includes backups of thousands of files as well as a couple of complete operating systems on different partitions.
Old 11-06-2010, 10:52 PM
Guest
Join Date: Sep 2005
Posts: 1,768
It changes constantly as programs create logs, your computer creates cookies and flash objects and chached html pages, you should change your settings, scanning every file is a waste of time, only a handful can even be infected with a virues

Last edited by ChrisBooth12; 11-06-2010 at 10:53 PM.
Old 11-06-2010, 11:23 PM
Charter Member
Join Date: Nov 2003
Location: In a canyon, in a cavern
Posts: 525
Disk Utility (/Applications/Utilities/Disk Utility) gives you the disk information at the bottom of the window. The total number of files is shown.

I have an old PowerBook G4 with an 80 GB disk and have 721,871 files.
Old 11-06-2010, 11:31 PM
Charter Member
Join Date: Jan 2000
Location: NoWA
Posts: 57,897
Thanks, Ex Chemist.

384,858 files.
Old 11-07-2010, 12:22 AM
Member
Join Date: May 2001
Location: Scottsdale, more-or-less
Posts: 15,014
Just as a data point, I have 2,335,672 files on my boot drive.
Old 11-07-2010, 01:00 AM
Charter Member
Join Date: May 2000
Location: SW Side, Chicago
Posts: 42,137
Quote:
Originally Posted by beowulff View Post
Just as a data point, I have 2,335,672 files on my boot drive.
2,095,291 on mine.
Old 11-07-2010, 11:57 PM
Charter Member
Join Date: Apr 2002
Location: Chicago
Posts: 2,242
In case any Windows users clicked on the thread and are curious how to do the same thing, the following can be run from the command prompt:
Code:
dir c:\ /a:-d /b /s | find /v /c ""
I have 123,650.
Old 11-08-2010, 01:39 AM
Guest
Join Date: Aug 2008
Location: "Hicksville", Ark.
Posts: 33,064
Quote:
Originally Posted by Number View Post
In case any Windows users clicked on the thread and are curious how to do the same thing, the following can be run from the command prompt:
Code:
dir c:\ /a:-d /b /s | find /v /c ""
I have 123,650.
Just be prepared for it to take a little while--what you are doing is opening every folder and listing every file on your C: drive, and getting the total from there.

Last edited by BigT; 11-08-2010 at 01:41 AM.
Old 11-08-2010, 03:54 AM
Guest
Join Date: Mar 2005
Location: Leeds, UK
Posts: 1,317
83,482 on Windows 7, this is just my system drive so doesn't include my backup drive which is full of music and video files.
Old 11-09-2010, 02:24 AM
Guest
Join Date: Mar 2004
Location: Japan
Posts: 2,809
If youíre more curious about your files, and a bit geeky, in OS X you can run a UNIX tool to quantify fragmentation.
HFSDebug. It provides a percentage of files fragmented, top five fragmented files, and a full count of files on your system.

Download the disk image, mount it, and put this code in the Terminal.

Code:
sudo /Volumes/HFSDebug\ Lite\ 4.33/hfsdebug-lite -V/ -f -t 5
Since itís a sudo command, youíll be prompted to enter your password. Itíll run for a while, throwing up text about each of the files as it analyzes. There are different things you can do to poke around under the hood if you want to play with this tool. You can read the page and set flags for whatever you want to do.

OS X is pretty good about dealing with file fragmentation on its own, which is why there arenít many defrag programs for it. My system has 0.566% fragmentation, almost all of it in a few large files ripped from DVDs that span different sectors.

I have 849,768 files on my drive.
Old 11-09-2010, 04:46 AM
Member
Join Date: Feb 2010
Posts: 1,381
For Windows techies, I recommend this free command line utility DU (disk usage): http://technet.microsoft.com/en-us/s.../bb896651.aspx

To just count the files on your C: drive, the command is: DU C:
But it can do more than that. You can tell it how many levels to recurse down and it will give you the size of each folder which is very useful for freeing up disk space.
Old 11-10-2010, 06:14 AM
Guest
Join Date: Apr 2001
Location: Europe
Posts: 5,159
The following works on Unix-like systems, probably including Mac OS X:
Code:
sudo find / -type f | wc -l
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:43 PM.

Copyright © 2017
Best Topics: sword vs bear heels peeling dog tazer pink floyd quiz pisant definition ink file voldemort definition black housekeeper broad women midas brakes reviews salt packets weird turn ons squishy cactus faceoff season 2 imdb dagon mazikeen sandman church road sign garam masala walmart nickname for alexander failing cv joint define wenis firefighter elevator key munch peanut bar walter hudson casket smartest race 6x6 lumber lowes profiles xt catnip high the sleeperhold penny superstitions silent film dialogue cards put the lime in the coconut commercial bottom of shoes squeak danny thomas glass table dating a girl who lives with her ex star decorations on houses peter gabriel in your eyes meaning dark skinned in spanish how fast do shrimp grow best no rub contact solution mirrors on the ceiling pink champagne on ice shave and a haircut song fungi differ from animals in that fungi do rotary phones still work john jacob jingleheimer schmidt meaning what happens to saltwater fish in freshwater flame broiler burger king people born without eyelids open hood of car does background check show high school diploma will rid x unclog a drain get the lead out origin dish soap as hand soap what does polonius want reynaldo to do weed wacker boat motor turn signal blinks rapidly waterbeds good for your back install wood fence over chain link how big is a city block eritrean people physical features where can i buy basil good stuff tobacco ingredients goodbye pork pie hat lyrics