Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Command for total number of files (and size) across subdirectories? Post 302549181 by itkamaraj on Monday 22nd of August 2011 05:54:02 AM
Old 08-22-2011
what you tried so far ?

is it homework ?

read about the find command
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Count number of files in subdirectories

Hello, I am new to unix and would like to have a count of all the files in the current directory as well as all the files in a subdirectory. The command I used was ls -R | wc -l but the number returned wasn't correct. Can someone please help? Thanks (2 Replies)
Discussion started by: cbeverly
2 Replies

2. Solaris

command to find out total size of a specific file size (spread over the server)

hi all, in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders... please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies

3. UNIX for Dummies Questions & Answers

Find total size for some files?

Hi, I'm newbie to Unix. I'd like to count the total size of those files in my directory by date. For example, files on this period 05/01/08 - 05/31/08. If possible can we count by byte instead of kb. if I use $ du - ks , it will add up all files in the dir. thanks, Helen (5 Replies)
Discussion started by: helen008
5 Replies

4. Shell Programming and Scripting

Getting the total file size for certain files per directory

Hi, I am trying to get the total file size for certain files per directory. I am using find /DirectoryPath -name '*.dta' -exec ls -l {} \; | awk '{ print $NF ": " $5 }' > /users/cergun/My\ Documents/dtafiles.txt but this lists all the files in the directories. I need the total... (9 Replies)
Discussion started by: cergun
9 Replies

5. UNIX for Dummies Questions & Answers

get total size of files

as we use du - sh *.frm In This command It will show the list of files and size But I want the Total size that these files in directory with extension .frm How can we do This (6 Replies)
Discussion started by: kaushik02018
6 Replies

6. Shell Programming and Scripting

Use Awk and Array to get total size of files

Hello all, I need to do scripts total up the size in selected extension file for example motion.mov and segmentation.avi is in Label Media. For file info.doc and calc.xls in Label Document. I need output will be like this: count 1 Media,,2 GB count 2 Document,,4 GB My problem is,... (16 Replies)
Discussion started by: sheikh76
16 Replies

7. Solaris

Need command to know the total size

:mad:i need command to know the total size of project in my system by Giga bit i try #du -s /*/projectname but i need total size for this project by G.B can you help me (6 Replies)
Discussion started by: ayman
6 Replies

8. Solaris

Find the total size of multiple files

If I have a number of files in a directory, for example, test.1 test.2 test.3 abc.1 abc.2 abc.3 and I need to find the total file size of all of the test.* files, I can use du -bc test.* in Linux. However, in Solaris, du does not have the -c option. What can I do in Solaris to get... (11 Replies)
Discussion started by: learnix
11 Replies

9. Shell Programming and Scripting

Search subdirectories and find and print total files

Hi All, I have a folder name lets say path/to/folder/CUSTOMER and under this i have several folders and each of these subfolder have serveral subfolders and so on and at some point i will have a folder name called "FTP_FILES" . I need to search for these folders named "FTP_FILES and then... (10 Replies)
Discussion started by: Kevin Tivoli
10 Replies

10. UNIX for Dummies Questions & Answers

UNIX - command to count number of files in subdirectories

I have a folder named test/ and under that I have multiple directories and in each of the directory I have multiple log files. I want to know how many files exists under each sub directory. test |--quanrantine |--logfile1 |--logfile2 |--spooling |--logfile1 ... (4 Replies)
Discussion started by: ravikirankethe
4 Replies
CWNN(7) 						 Miscellaneous Information Manual						   CWNN(7)

NAME
cWnn - A Chinese Input System Running on Unix Workstations. DESCRIPTION
cWnn provides a wide range of input methods, satisfying the needs of Chinese users all over the world, including P.R.China and Taiwan. Besides, it is capable of converting an arbitrary sequence of Pinyin/Zhuyin into the expected Hanzi and caters for error tolerance in the four tones. cWnn has standardized Pinyin and Zhuyin and it provides an ideal input environment for all users. COMMANDS AVAILABLE IN MAN FILE
1. Startup of the server - cserver 2. Startup of the front-end processor - cuum 3. Current usage status of the server - cwnnstat 4. Termination of the server - cwnnkill 5. Rewrite of dictionary header - cwnntouch UTILITIES AVAILABLE IN MAN FILE
1. Creation of binary format dictionary - catod 2. Restoration of text format dictionary - cdtoa 3. Creation of binary format grammar file - catof 4. Registration of characters/words into a - cwdreg specified dictionary 5. Deletion of characters/words from a specified - cwddel dictionary 6. Sorting of a specified text format dictionary - cdicsort MISCELLANEOUS INFORMATION
1. cWnn installation - cinstall 2. cWnn startup and termination - cstartend 3. cWnn function keys - ckey 4. cWnn environment operation function - cenv 13 May 1992 CWNN(7)
All times are GMT -4. The time now is 05:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy