: # checkfs - perform some file system checks # # Author: Heiner Steven (heiner.steven@odn.de) # Category: System Administration [ $# -lt 1 ] && set -- / # Find all directories and files starting with a '.' and calculate the size find "$@" \( -type d -o -type f \) -name '.*' -print | xargs du -s # Find all files greater than 5 MB find "$@" -type f -size +5120 -print | xargs ls -ld