Sponsored Content
Full Discussion: Directories Size
Operating Systems HP-UX Directories Size Post 77167 by cgege on Tuesday 5th of July 2005 10:15:40 AM
Old 07-05-2005
Question Directories Size

Hi All

I want to plan my backups, but 1st i would like to know what is the size of each directory. Is there any command which can show me the size of directories?

Regards
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Split/create directories on basis of their size

Hi, I would really apprciate it if someone expert in shell, "shell guru" scripting can help me. with a shell command how can I create directories and populate on basis of size. Before I confuse you, let me tell you the scenerio. We take hot database backup of oracle on disk, and... (0 Replies)
Discussion started by: amitoverseas40
0 Replies

2. UNIX for Dummies Questions & Answers

Empty directories having different size

$ls -lrt mydir total 12 drwxrwxrwx 2 nobody nobody 512 Aug 8 11:51 tmp drwxrwxrwx 2 nobody nobody 4608 Jan 19 12:20 web.cache $ ls -lrt mydir/web.cache/ total 0 $ ls -lrt mydir/tmp/ total 0 Can anyone explain me the above results? I know the o/p of ls, but this... (3 Replies)
Discussion started by: rahulrathod
3 Replies

3. Shell Programming and Scripting

checkingthe size of all the .txt , .ext files in all directories ..

hai, i am new to unix scripting & learning unix scripting and doing some assignments.... i have an assignment as follows, i want to check the size of the text file and .ext files in all directories, if any one of them is greater than 100mb , i have to display those files.. ... (2 Replies)
Discussion started by: G.K.K
2 Replies

4. Shell Programming and Scripting

Display top ten directories by size

Hi, I am new to Unix. I want to display top 10 folders by size. I tried with du -ksl * | sort -nr | head -10 command .But I am getting the following error -bash: /usr/bin/du: Argument list too long Can some one help me. Thanks. (5 Replies)
Discussion started by: Satyak
5 Replies

5. Shell Programming and Scripting

to find the size of directories

Hi, how to know the size of the files in the directory, exclusing the subfolder. ? i tried du -h du -sk du -k but its not giving.. (2 Replies)
Discussion started by: mail2sant
2 Replies

6. Shell Programming and Scripting

How to list all the directories, sub directories in a mount along with size in ascending order?

Hi , I am very new to unix as well as shell scripting. I have to write a script for the following requirement. In a particular mount, have to list all the directories and sub directories along with size of the directory and sub directory in ascending order. Please help me in this regard and many... (4 Replies)
Discussion started by: nmakkena
4 Replies

7. UNIX for Dummies Questions & Answers

Finding size of all directories

Alright so I've tried a couple different things that at first glance, looked like they worked. find . -maxdepth 5 -type d -daystart -mtime 1 | xargs du -h Which seems to ignore the previous commands such as depth and modified time. find .. -maxdepth 2 -type d -daystart -ctime 1 | xargs... (8 Replies)
Discussion started by: Aussiemick
8 Replies

8. Shell Programming and Scripting

Directories above particular size

Hi guys, i'm searching for a command, which gives me back all the directories which are greater than a particular size? thx for helping so far :b: guti (2 Replies)
Discussion started by: guti_rocks
2 Replies

9. UNIX for Advanced & Expert Users

Directories converted into files with the same size

Hi Gurus, I know this sounds weird, We have encountered many incidents where some directories on several Solaris 10 boxes, will be converted to files with the same size. for example the file below : -rw-r--r-- 1 rkadm redknee 5027399 Apr 15 00:02 dump This was a directory created... (5 Replies)
Discussion started by: aladdin
5 Replies

10. Shell Programming and Scripting

Script to sort by size of directories

Hello, I'm trying to find top 5(highest) directories by size. I did something like du -sh * > $file Where I can get all the size with respect to directories, but I need only top 5 directory from the file. How can I sort by size in the file and print top 5 sizes with the directory name??? ... (3 Replies)
Discussion started by: pjeedu2247
3 Replies
STOREBACKUPVERSIONS(1)					User Contributed Perl Documentation				    STOREBACKUPVERSIONS(1)

NAME
storeBackupVersions.pl - locates different versions of a file saved with storeBackup.pl. SYNOPSIS
storeBackupVersions.pl -f file [-b root] [-v] [-l [-a | [-s] [-u] [-g] [-M] [-c] [-m]]] OPTIONS
--file, -f file name (name in the backup, probably with suffix from compression) --backupRoot -b root of storeBackup tree, normally not needed --verbose, -v print verbose messages --locateSame, -l locate same file with other names --showAll, -A same as: [-s -u -g -M -c -m] --size, -s show size (human readable) of source file --uid, -u show uid of source file --gid, -g show gid of source file --mode, -M show permissions of source file --ctime, -c show creation time of source file --mtime, -m show modify time of source file --atime, -a show access time of source file It does not always work correctly when a file is saved blocked *and* non-blocked in different backups. In such cases, use option --locateSame. COPYRIGHT
Copyright (c) 2002-2008 by Heinz-Josef Claes (see README) Published under the GNU General Public License v3 or any later version perl v5.14.2 2012-03-03 STOREBACKUPVERSIONS(1)
All times are GMT -4. The time now is 11:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy