Solved

organize files by filesize in mac osx

Posted on 2011-03-12
4
593 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

With the major release of Apple's 7th addition to the Mac OS X family, Mac OS X 10.6 Snow Leopard, there are a lot of enhancements which have arrived with this new OS X upgrade. With the number of enhancements and refinements I can provide deta…
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
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 …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 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