Metastore is a useful program that just stores the file metadata (owner, group, permissions, xattrs, and optionally mtime) into a separate file. This can be used to ensure that metadata is preserved in backups, or to transfer metadata from one machine to another, to store metadata info in a Git repository, etc.

Source available at: