Solved

organize files by filesize in mac osx

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

If you other experts are anything like me you are always looking into and testing out new features. While I was doing some research one day I ran across an app that I installed on my Mac and used as a security system. Mac OS X: SecureHome uses your …
In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
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 a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

840 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