Reply
Thread Tools Display Modes
#1
Old 11-06-2010, 08:53 PM
Charter Member
Join Date: Jan 2000
Location: NoWA
Posts: 57,508
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?
#2
Old 11-06-2010, 09:45 PM
Member
Join Date: May 2001
Location: Scottsdale, more-or-less
Posts: 14,896
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.
#3
Old 11-06-2010, 09:46 PM
Charter Member
Join Date: Jan 2000
Location: NoWA
Posts: 57,508
That many? Not to 150,000 yet...
#4
Old 11-06-2010, 10:23 PM
Member
Join Date: Apr 2001
Location: NH
Posts: 21,801
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.
#5
Old 11-06-2010, 10:27 PM
Charter Member
Join Date: Jan 2000
Location: NoWA
Posts: 57,508
This is an old machine (2005) so it only has a 100GB hard drive. It's about 95% filled.
#6
Old 11-06-2010, 10:36 PM
Member
Join Date: May 2001
Location: Scottsdale, more-or-less
Posts: 14,896
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.
#7
Old 11-06-2010, 10:36 PM
Guest
Join Date: Apr 2008
Posts: 3,797
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.
#8
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.
#9
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.
#10
Old 11-06-2010, 11:31 PM
Charter Member
Join Date: Jan 2000
Location: NoWA
Posts: 57,508
Thanks, Ex Chemist.

384,858 files.
#11
Old 11-07-2010, 12:22 AM
Member
Join Date: May 2001
Location: Scottsdale, more-or-less
Posts: 14,896
Just as a data point, I have 2,335,672 files on my boot drive.
#12
Old 11-07-2010, 01:00 AM
Charter Member
Join Date: May 2000
Location: SW Side, Chicago
Posts: 41,718
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.
#13
Old 11-07-2010, 11:57 PM
Charter Member
Join Date: Apr 2002
Location: Chicago
Posts: 2,230
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.
#14
Old 11-08-2010, 01:39 AM
Guest
Join Date: Aug 2008
Location: "Hicksville", Ark.
Posts: 32,845
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.
#15
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.
#16
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.
#17
Old 11-09-2010, 04:46 AM
Member
Join Date: Feb 2010
Posts: 1,373
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.
#18
Old 11-10-2010, 06:14 AM
Guest
Join Date: Apr 2001
Location: Europe
Posts: 5,137
The following works on Unix-like systems, probably including Mac OS X:
Code:
sudo find / -type f | wc -l
Reply

Thread Tools
Display Modes

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 10:43 PM.

Copyright © 2017
Best Topics: homeless drivers license microwave fries dual gas tanks hangover sweats co valence electrons uncola nuts concierge pronounced 6 volt resistor snot clot watt exercise pussy farts lineal vs linear susie steamboat lyrics three eighty five motifs motives teenage wasteland movie triangle bayonets dune plot ugliest ford mustang girls of france obama schwag conservative forums rakishly handsome funny airplane names sweet river baines llorando lyrics tracer fire cesium bullet dez harrington 14 cm penis cat raising paw rhenium diboride ring cherry heering substitute rhino stomping out fire hummer drives under water bandana in back pocket meaning if you miss your exit on the freeway, it is legal to stop and back-up __________ how long does blood take to dry phallic symbol female version do crows eat baby birds 40 days and 40 nights of rain can you gain more weight than the weight of the food you eat what is rid-x best bullet proof vest dragon skin baster robertson feel the night i think i hate my boyfriend portland cement cost per ton how much does 1800 got junk charge for mattress diagram of a car locking liquor cabinet ikea seven pounds jellyfish scene how does dog food taste where to buy carbonated water according to texas law are entitled to the full use of a lane how hard is it to break someone's neck sleeping but fully aware of surroundings do you have to dial 1 on a cell phone bee gees false teeth 10-32 vs 10-24 getting head while driving how often should you change your socks did fred and wilma sleep in the same bed how long does cirrhosis take to kill you how to pack a cigarette why do i suck at chess