Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I find all files on a Linux system who are greater than a specific size #43

Closed
janbaer opened this issue Oct 4, 2016 · 0 comments

Comments

@janbaer
Copy link
Owner

janbaer commented Oct 4, 2016

find /home/ -type f -size +512k -exec ls -lh {} \;
  • b – for 512-byte blocks (this is the default if no suffix is used)
  • c – for bytes
  • w – for two-byte words
  • k – for Kilobytes (units of 1024 bytes)
  • M – for Megabytes (units of 1048576 bytes)
  • G – for Gigabytes (units of 1073741824 bytes)

Linux Tips: Find All Files of a Particular Size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant