Macworld Forums: number of files in folders - Macworld Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

number of files in folders

#1 User is offline   surtur Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 274
  • Joined: 02-November 01

Posted 21 October 2005 - 01:11 PM

is there an application that can tell me the number of files in folders and sub folders of that folder?
0

#2 User is offline   JackMac Icon

  • Veteran
  • PipPipPip
  • Group: Members
  • Posts: 1,080
  • Joined: 07-March 02

Posted 21 October 2005 - 01:45 PM

If you open a folder in the Finder the number of "items" is listed at the bottom.
0

#3 User is offline   surtur Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 274
  • Joined: 02-November 01

Posted 21 October 2005 - 02:18 PM

"If you open a folder in the Finder the number of "items" is listed at the bottom."
yes, thank you, but how many files in Sub folders in the folder too.
/main/sub
how many in main, and in sub total.
(I have some that are 145 sub folders in one folder)
0

#4 User is offline   surtur Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 274
  • Joined: 02-November 01

Posted 21 October 2005 - 03:45 PM

got a solution from apple forums but it's for terminal.
ls -R "folder" | wc -l
so typing in Terminal ls space -R space then dragging the first folder that contains all the sub folders onto Terminal then typing space | space wc space -l
problem is that all these (#*$@) forums use sans serif so the characters are confusing... the l's are for list
the -l is minus list
so they are l's (list) not I's (Idea)

my folder with 23 sub folders have a total of 1463 files.
0

#5 User is offline   Dan Frakes Icon

  • Advanced Member
  • Icon
  • Group: Moderators
  • Posts: 3,765
  • Joined: 14-April 03

Posted 26 October 2005 - 09:12 PM

CalculateSizeCM will do this:
http://www.macworld....ws/julymacgems/

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users