The --list feature works fine if I comment out the root check, so it would be nice to remove that check when doing --list. Even the import of xattrs could be avoided when using --list so the script doesn't require the particular MacOS python.
Would it be possible to make the script work on linux when just using --list ? (Or does such a tool already exist ?)