Thursday, February 21, 2008

Handy Find Command


Find all files on a given filesystem, capturing some nice attributes about them:

find / -xdev | xargs stat -c "%n %a %u %g" | sort > file.txt