![]() |
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 |
| filesize | infyanurag | Shell Programming and Scripting | 3 | 05-15-2008 05:00 AM |
| UNIX and filesize | ndoggy020 | UNIX for Dummies Questions & Answers | 3 | 12-06-2007 04:14 PM |
| How to truncate as filesize? | Lestat | Shell Programming and Scripting | 1 | 06-07-2005 03:24 PM |
| FileSize ??? | Cameron | Shell Programming and Scripting | 3 | 05-28-2002 10:34 PM |
| filesize | jmg5 | Shell Programming and Scripting | 2 | 02-13-2002 07:51 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Sorting ls by filesize
I saw some stuff in the search results on this - but nothing specific.....
I have a significant number of files (c. 300) which are output from a large process that I run. These are compared with a 'baselined' set of files - so I can quickly see if there are differences based on the sizes of the files. I want to sort the directory into filesize...and not by number of lines. I need byte size to confirm differences. I've thought about awk, wc -c, I've looked at sort -n ....and I've looked at the ls options...but I cant seem to get a combination to work for me. ideas? And Yeah I realise I could cut the filesize from the ls and sort by that....but there must be a simpler way.... (Oh and I work with SunOS 5.6 and typically use a bash shell). |
|
||||
|
Spot on - thanks.
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|