11-29-2005
How find size of directory
Hi,
How can find the size of the directory. If the directory has 1000 files. I want the total size of directory including all the files. the bdf command is just able to give only the volume size. It is not heling my cause.
10 More Discussions You Might Find Interesting
1. Solaris
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
2. Shell Programming and Scripting
Hi,
I would really appreciate if you could help me with this. I have a directory structure like this :-
/data
Under data i have directories /data1 , /input_files , /output_files etc . Under these directories I have other subdirectories.
What i am looking for is to find out the size of all... (5 Replies)
Discussion started by: divz
5 Replies
3. Shell Programming and Scripting
hi,
i am using korn shell...............
Any one please help me in solving the below question:
question: i need to find the size of the directory alone...
let us assume /root/kamal/hash1 is the directory, now i want to find the hash1 size ..
... (7 Replies)
Discussion started by: G.K.K
7 Replies
4. Shell Programming and Scripting
Hi All...
is the below command be modified in sucha way that i can get the file size along with the name and path of the file
the below command only gives me the file location which are more than 100000k...but I want the exact size of the file also..
find / -name "*.*" -size +100000k
... (3 Replies)
Discussion started by: rpraharaj84
3 Replies
5. Solaris
Hi,
We currently have an Oracle database running and it is creating lots of processes in the /proc directory that are 1000M in size. The size of the /proc directory is now reading 26T. How can this be if the root file system is only 13GB?
I have seen this before we an Oracle temp file... (6 Replies)
Discussion started by: sparcman
6 Replies
6. Shell Programming and Scripting
I'm using this now:
find /some/path/with/sourcefiles -type f -size -7M -exec /bin/cp -uv {} /some/path/ \;
but it doesn't preserve the directory structure, also I've tried it with
find /some/path/with/sourcefiles -type f -size -7M -exec /usr/bin/rsync -auv {} /some/path/ \;
but that doesn't... (9 Replies)
Discussion started by: unclecameron
9 Replies
7. Shell Programming and Scripting
Hi all,
Could you please tellme the commadn which sorts the list of directories in a parent dir by their size.
Thanks. (2 Replies)
Discussion started by: firestar
2 Replies
8. Shell Programming and Scripting
To find the whole size of a particular directory i use "du -sk /dirname".. but after finding the direcory's size how do i make conditions like if the size of the dir is more than 1 GB i hav to delete some of the files inside the dir (0 Replies)
Discussion started by: shaal89
0 Replies
9. Shell Programming and Scripting
Hello :
I need some help in writing a ksh script which will find a particular directory in all the file systems in a server and finally report the total size of the direcotry in all the file systems.
Some thing like this..
find /u*/app/oracle -type d -name "product" -prune
and then... (1 Reply)
Discussion started by: Sam1974
1 Replies
10. UNIX for Dummies Questions & Answers
I have been searching both on Unix.com and Google and have not been able to find the answer to my question. I think it is partly because I can't come up with the right search terms.
Recently, my virtual server switched storage devices and I think the problem may be related to that change.... (2 Replies)
Discussion started by: jmgibby
2 Replies
LEARN ABOUT ULTRIX
dxmkfontdir
dxmkfontdir(1X) dxmkfontdir(1X)
Name
dxmkfontdir - Create a list of fonts for the X server.
Syntax
dxmkfontdir [directory-names]
Description
The dxmkfontdir command creates files that list font names and the font files to which the names correspond, for use when the X server
starts up. In each directory specified as a command argument, dxmkfontdir creates the directory's list of fonts and places it in a file
called fonts.dir. If you omit arguments, dxmkfontdir creates a fonts.dir file for the current directory.
The fonts.dir file lists each font file and gives the name of the font in that file. To obtain font names, dxmkfontdir searches the files
in the directory for a property named FONT. If the FONT property is absent, dxmkfontdir uses the names of PCF (.pcf), BDF (.bdf), and com-
pressed BDF (.bdf.Z) files, omitting their suffixes. If a font exists in multiple formats, the PCF format is used.
When the X server starts up, it looks for a fonts.dir file in each font directory in the font path. It also looks for a fonts.alias file
in each directory.
Font Aliases
You can create or edit the fonts.alias file to assign new names to existing fonts. X clients can then use the alias names to request fonts
from the server. A font alias file can be in one or any number of directories in the font path. It consists of two columns, separated by
white space. The first column lists aliases; the second column contains font name patterns. Aliases can reference fonts in directories
other than the one in which the alias file exists.
To embed white space in the alias name or the font name, enclose the name in quotation marks (""). To embed quotation marks (or any other
characters), precede them with a backslash (. The following are sample entries from a fonts.alias file:
courier10 fixed
/udir/sally/fonts/courier/10.pcf "-adobe-helvetica-bold-o-normal--
24-240-15-75-p-104-1508859-1"
If the fonts.alias file contains the string FILE_NAMES_ALIASES alone on a line, each file name in the directory (without its .pcf suffix)
is automatically translated as a font name alias. For example, a file named courier10.pcf would have the font name alias courier10.
See Also
X(1X), dxfc(1X)
dxmkfontdir(1X)