Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Locate big files on macOS
$ mdfind 'kMDItemFSSize > 200000000' | sed 's| |\\ |g' | xargs du -sch
#                             ^
#                         ~ 200MiB
@vishaltelangre

This comment has been minimized.

Copy link
Owner Author

commented Jan 11, 2017

@RevScandal

This comment has been minimized.

Copy link

commented Jul 15, 2017

find / -size +200000000c

to see file details

`
find / -size +200000000c -exec ls -lah {} ;

Read the man page.
`

man find

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.