Skip to content

Instantly share code, notes, and snippets.

@tnibert
Created September 24, 2020 01:39
Show Gist options
  • Save tnibert/8beda22a9034791dc8ff4edffbcd47ce to your computer and use it in GitHub Desktop.
Save tnibert/8beda22a9034791dc8ff4edffbcd47ce to your computer and use it in GitHub Desktop.
Identify large files
#!/bin/bash
# identify all files larger that 1 GB
find / -xdev -type f -size +1G -exec ls -lah {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment