Solved

organize files by filesize in mac osx

Posted on 2011-03-12
4
591 Views
Last Modified: 2012-05-11
organize files by filesize in mac osx

all files, not just one folder
0
Comment
Question by:rgb192
4 Comments
 
LVL 84

Accepted Solution

by:
ozo earned 167 total points
ID: 35117776
ls -l | sort -nk5
0
 
LVL 4

Assisted Solution

by:RapidDelp
RapidDelp earned 167 total points
ID: 35117968
There are many ways to do it, two of them are:

1. Get spotlight to list all of the files

type anything into the spotlight window, then have it show all files and change the search criteria.  Then you can sort by size.

2. Use a combination of find, xargs and grep

 find / -type f -size +10 -print0 | xargs -0 ls -s | sort -n > file 

Open in new window

 the
 . . . -print0 | xargs -0 . . . 

Open in new window

is to account for file names with spaces.
0
 
LVL 53

Assisted Solution

by:strung
strung earned 166 total points
ID: 35118960
0
 

Author Closing Comment

by:rgb192
ID: 35119219
thanks
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will cover some tips for successfully installing the new update to OS X; 10.5.7. Although the information contained within could be used for any OS X point release.  Please note that this information applies to point releases to a parti…
The error "There was an error performing the update" occurred on a Mac OS X client workstation running  Symantec AntiVirus for Mac (http://www.symantec.com/business/products/purchasing.jsp?pcid=pcat_security&pvid=825_1) - the Enterprise product vers…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now