What is the best and fastest way to get a list of every file on OS X including hidden and system files along with their attributes? I'm not afraid of the terminal or scripts, but if there is a wonderful audit-like application out there I'd be interested in comparing that to my options.
Depends on what attributes you need, but the standard unix way would be:
You mention auditing, so something like tripwire may fit your needs better.
To list extended attributes and file flags for all files on all devices:
(that's an upper case letter O in the "-ldO@").
To include access control lists (ACLs), the
If a device is a Filesytem in Userspace with no allowance for root, then the commands above will not succeed for that device.
For the listing to exclude devices other than the startup volume, the