Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

organize files by filesize in mac osx

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

all files, not just one folder
0
Comment
Question by:rgb192
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 84

Accepted Solution

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

Assisted Solution

by:RapidDelp
RapidDelp earned 668 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 664 total points
ID: 35118960
0
 

Author Closing Comment

by:rgb192
ID: 35119219
thanks
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

The /etc/authorization file in Mac OS X 10.x can be used to control access to the various panes of the System Preferences amongst other things. It’s used by some of us Mac Sys Admin’s to give Standard Users access to System Prefs panes that only adm…
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
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 …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

604 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