Sort By Manual Order In A Folder Mac

Active4 years, 11 months ago

Assuming it's just a folder, open the folder in Finder. Then click the 'Detail' view button. Finally, click the 'Size' column. The largest files will sort to the top. Additionally, folders within this folder are also sorted by size - simply click the triangle next to them, and you will see their files sorted as well. Mar 08, 2016  If none of the sort menu criteria work for you then put files in any order you want using this method.

I have a folder full of folders and files. I want to sort files by size (so I could remove the largest files).

  1. By default, Apple Mail displays folders in alphabetical order for IMAP accounts. However it also supports manual ordering of folders by drag-and-drop (which could occur accidentally) and once one folder has been moved manually all subsequent new folders will be added to the end of the list. Before resetting this ensure that Mail is closed.
  2. How to Keep Folders on Top When Sorting by Name in Mac OS Finder Feb 26, 2018 - 13 Comments By default, if you sort a directory by name in the Mac OS Finder, you will find that both files and folders are arranged alongside one another based upon an alphabetical sorting of their names.

Manually sort folders 1.2.1 Requires Restart by Jonathan Protzenko. This extension allows you to manually sort (order) your folders in the folder pane of Thunderbird or automatically sort them, but in a better way. This extension also allows you to re-order accounts in the folder pane. Click the Arrange By/Sort By icon in the Finder window toolbar (if that icon is displayed) and choose Name. You can also experiment with Arrange By, which groups items into larger categories.

I know how to do that in Windows Explorer, but I can not find a way to do it in Mac OS X Finder.

Windows 2003:

  • open folder in Windows Explorer
  • click button Search
  • leave Search for files or folders named and Containing text text fields empty
  • click button Search Now
  • sort by size

Is there a way to do something like this in Finder on Mac OS X?

Journeyman GeekMac
114k44 gold badges224 silver badges382 bronze badges
Željko FilipinŽeljko Filipin
2,29210 gold badges30 silver badges38 bronze badges

5 Answers

Open Terminal, cd to the folder you want to analyze and use this command:

It should print a list of all files in the hierarchy, sorted by size. At least on my machine, which is not a Mac, but some other Unix. But in principal it should be roughly the same.

Thanks to Richard Hoskins for the bug with the spaces in the names. That's actually a feature in xargs. See this site where it's explained quite nicely. Above version should work now.

Edit

Here is an explanation how the command works:

find . > find items from current working directory '.'

-type f > search for regular files

-print0 > print full file name to standard out, ending with a null character, instead of newline (this is for handling filenames with newlines and white space by xargs)

xargs > execute command xargs (executes a command for every line in standard in)

-0 > line delimiter is null character

ls -l > the command for xargs to execute. This way we get the details especially the size of the files.

sort > sort lines in standard in

-k5,5rn > sort field definition, begin at field 5 (delimiter default is blank) and end at field 5. That's the size field in ls -l display. r stands for reverse sort order, so that the biggest files are on top and n stands for numerical sort order.

dertonidertoni
1,0611 gold badge8 silver badges19 bronze badges

Assuming it's just a folder, open the folder in Finder. Then click the 'Detail' view button. Finally, click the 'Size' column. The largest files will sort to the top. Additionally, folders within this folder are also sorted by size -- simply click the triangle next to them, and you will see their files sorted as well. (Don't 'open' the folder by double-clicking, just click the triangle to expand their contents.)

If you wanted to do a search, you can search by file size. Go to the File menu, and choose Find. Click the list that starts out saying 'Kind,' and choose 'Other.' Select Size from the list that comes up. Enter your criteria and search. However, I cannot find a way to make the search results display the file size column, so it's easier to use that to, say, find files greater than a certain size than to actually sort by size.

Gaff
16.3k11 gold badges50 silver badges65 bronze badges

Sort By Manual Order In A Folder Mac 10

John RudyJohn Rudy

Sort By Manual Order In A Folder Mac Book

3,0071 gold badge25 silver badges28 bronze badges
  • open Finder
  • go to folder
  • Finder > File > Find...
  • in Search change selection from This Mac to 'folder name'
  • click Kind
  • select Other and then Size
  • click button OK
  • (solution to my problem is size greater than 1 MB)
Željko FilipinŽeljko Filipin
2,29210 gold badges30 silver badges38 bronze badges

For cleaning my disk of big files, I prefer simply using Grand Perspective:

Gaff
16.3k11 gold badges50 silver badges65 bronze badges
cregoxcregox
3,7945 gold badges42 silver badges62 bronze badges
  • Navigate to the folder in the finder.
  • Momentarily enter anything in the search field on the toolbar.
  • Once you have the search mode active you can delete what you entered to avoid filtering on that text.
  • Click the (+) icon at the right to add a search criteria.
  • Select File size, is greater than, and whatever minimum threshold works for you.
    • Zero (0) is an option, but enough results may make things slow.
  • You may need to right-click (control-click, two-finger click, etc) on the column headers to √ the Size column.

It will look something like this:

LakeLake

protected by randomAug 10 '11 at 20:13

Sort By Manual Order In A Folder Mac

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged macosfile-managementfinder or ask your own question.