![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to List out the Files based on the file Size...? | psiva_arul | Shell Programming and Scripting | 6 | 04-08-2008 10:06 PM |
| Total file size of a subset list | tekster757 | UNIX for Dummies Questions & Answers | 3 | 03-21-2008 01:27 PM |
| command to list file size | rgordon | HP-UX | 3 | 12-05-2007 05:43 AM |
| Files list which are more than 300 MB size | redlotus72 | UNIX for Dummies Questions & Answers | 2 | 09-14-2006 12:28 AM |
| list file's by size order in sepecfied directory and sub directories | ferretman | UNIX for Dummies Questions & Answers | 2 | 01-03-2002 07:55 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
List File size
Hello all,
I have a directory filling up. I need to determine the size of the files in the directory. How do I do that, what command should I run when I am in the directory? Next question, can I expand the partition size? |
|
||||
|
Quote:
Code:
ls -l /path/to/dir | sort -nk5 Code:
du -csh /path/to/dir/* Code:
du -sk /path/to/dir/* Code:
find /path/to/dir -type f -mtime +31 -exec rm -f {} \; -ls
find /path/to/dir -type f -mtime +10 -exec gzip -f {} \; -ls
|
|
|||||
|
komputersman,
I found this sticky on this forum, think you might find it useful: http://unix.com/showthread.php?t=25840 |
![]() |
| Bookmarks |
| Tags |
| linux, mtime |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|