![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Size of Directory | tantric | High Level Programming | 1 | 06-28-2007 03:43 PM |
| size of directory with ls -l | pascalbout | AIX | 2 | 02-21-2006 03:21 PM |
| size of a directory | collins | High Level Programming | 6 | 10-15-2004 06:08 PM |
| size of a directory? | yls177 | UNIX for Dummies Questions & Answers | 2 | 11-25-2002 09:44 AM |
| Size of a directory | minazk | Shell Programming and Scripting | 9 | 10-01-2002 07:03 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
size of directory
Hello again;
I have a directories and subdirectories in my current directory and i wanna to find the directories( and subdirectories ) which are larger than what user enters as first parameter. find . -type d -size +"$1"c -print > directories.dat I used this command and i am not sure it is working properly. Because i entered the ./myprog.sh 300 and it found empty directory. Or i entered the ./myprog.sh 500000 and it found nothing however in the current directory i have directories which are larger than 500000 bytes i wonder this command are working for directory search or not working Thanks for your replies.. |
| Bookmarks |
| Tags |
| linux, ubuntu |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|