Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 11-01-2006, 03:10 PM   #1
Registered: Oct 2001
Distribution: Ubuntu 9.10
Posts: 148

Rep: Reputation: 15
File report?

Is is possible through shell to find all files in a directory recursively and give me the number of files and total size?
Old 11-01-2006, 03:14 PM   #2
Senior Member
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
For the total size, try "du -sh /directory".
For the number of files, try "find /directory -type f | wc -l"
Old 11-01-2006, 03:15 PM   #3
Registered: Oct 2001
Distribution: Ubuntu 9.10
Posts: 148

Original Poster
Rep: Reputation: 15
thanks for the reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lire (log analysis, log report) no report in Mandriva 2005 LE (desktop usage) Emmanuel_uk Mandriva 0 01-16-2006 03:11 AM
was it bug and how do I report it!! ngan_yine Linux - General 2 01-18-2005 12:49 AM
How can I report the Error Report? domeili Linux - Newbie 1 10-30-2003 06:42 AM
report-in script devhdc Linux - Software 1 09-21-2003 05:16 PM
How to print the log file report in squid? heero82 Linux - Software 0 06-18-2003 01:51 AM > Forums > Linux Forums > Linux - Desktop

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration