Number of files

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Number of files
# 1  
Old 02-26-2009
Number of files

Hi,
we have one monut point /u01/abc/
under this moumt point we have files generated from august 2008

now i need to send a report that
everry months how many files are generated and there used space

like

august month 100 files got created and they occupy 3 Gb of space .
september month 120 files got created and they occupy 2 Gb of space
.....

How can i get this information ..?

Image
# 2  
Old 03-11-2009
to get a list of files generated in a specific month, find command would be useful

man find for details
# 3  
Old 03-11-2009
Quote:
Originally Posted by rohitmathur11
Hi,
we have one monut point /u01/abc/
under this moumt point we have files generated from august 2008
If you are going to post here rohitmathur11, be considerate of others and make an attempt to spell "mount" correctly Smilie

Please edit your posts.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Print number of lines for files in directory, also print number of unique lines

I have a directory of files, I can show the number of lines in each file and order them from lowest to highest with: wc -l *|sort 15263 Image.txt 16401 reference.txt 40459 richtexteditor.txt How can I also print the number of unique lines in each file? 15263 1401 Image.txt 16401... (15 Replies)
Discussion started by: spacegoose
15 Replies

2. Shell Programming and Scripting

List files with number to select based on number

Hi experts, I am using KSH and I am need to display file with number in front of file names and user can select it by entering the number. I am trying to use following command to display list with numbers. but I do not know how to capture number and identify what file it is to be used for... (5 Replies)
Discussion started by: mysocks
5 Replies

3. UNIX for Dummies Questions & Answers

Number of files with *.something

I am trying to find the number of files that are of sas files. so I can do find . -name '*.sas' but I want to know how many. So what is the command to find so. (6 Replies)
Discussion started by: yatici
6 Replies

4. Shell Programming and Scripting

How to count number of files in directory and write to new file with number of files and their name?

Hi! I just want to count number of files in a directory, and write to new text file, with number of files and their name output should look like this,, assume that below one is a new file created by script Number of files in directory = 25 1. a.txt 2. abc.txt 3. asd.dat... (20 Replies)
Discussion started by: Akshay Hegde
20 Replies

5. Shell Programming and Scripting

List files only when a certain number of files match

Hi, I have many files named CCR20110720011001.CTRD CCR20110720011501.CTRD CCR20110720012001.CTRD CCR20110720012501.CTRD CCR20110720021001.CTRD ... (9 Replies)
Discussion started by: shadyfright
9 Replies

6. UNIX for Dummies Questions & Answers

Count number of files in directory excluding existing files

Hi, Please let me know how to find out number of files in a directory excluding existing files..The existing file format will be unknown..each time.. Thanks (3 Replies)
Discussion started by: ammu
3 Replies

7. UNIX for Dummies Questions & Answers

How to reduce multiple files into a specific number of files

Can anyone please let me know how do I reduce files into a specific number of files by cat'ing files? For example: 15 files must be reduced to 1 or 5 or 9 (possible values 1 to 14) (5 Replies)
Discussion started by: aryanbelank
5 Replies

8. AIX

Number of files

Hi, we have one monut point /u01/abc/ under this moumt point we have files generated from august 2008 now i need to send a report that everry months how many files are generated and there used space like august month 100 files got created and they occupy 3 Gb of space .... (1 Reply)
Discussion started by: rohitmathur11
1 Replies

9. UNIX for Dummies Questions & Answers

split files into specified number of output files

Hi everyone, I have some large text files that I need to split into a specific number of files of equal size. As far as I know (and I don't really know that much :)) the split command only lets you specify the number of lines or bytes. The files are all of a different size, so the number of... (4 Replies)
Discussion started by: Migrainegirl
4 Replies

10. UNIX for Dummies Questions & Answers

total number of files which have "aaa" in files whose names are File*_bbb*

I am getting the list of all the files which have "aaa" from files whose name is File*_bbb*. grep -l "aaa" File*_bbb* But I want to count the number of files. That is I want the total number of files which have "aaa" in files File*_bbb* If I run the following for getting number of... (1 Reply)
Discussion started by: sudheshnaiyer
1 Replies
Login or Register to Ask a Question