I'd like to use hashrat on a cron job to update a very large directory tree of rarely changing files.
When running
strace hashrat -sha512 -r d -xattr -cache
I see that hashrat updates the xattr even on unmodified files (e.g. the mtime in the xattr is more than 10s newer than the mtime of the file). This means that when scanning large directory trees of unmodified files, hashrat will still modify the xattr of every one of those files.