Home » Questions » Computers [ Ask a new question ]

Get a list of all files and their attributes on OS X

Get a list of all files and their attributes on OS X

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.

Asked by: Guest | Views: 77
Total answers/comments: 2
Guest [Entry]

"Depends on what attributes you need, but the standard unix way would be:

find / -type f -print0 | xargs -0 stat

You mention auditing, so something like tripwire may fit your needs better."
Guest [Entry]

"You can use mdfind.

Find files matching a single query."