A simple command line tool to export/import all extended attributes under a directory.
The tool requires a directory path and a database file path for its operations.
To export all extended attributes from files under a specific directory into a SQLite database:
xattr-port export --dir /path/to/your/directory --db /path/to/your/xattrs.dbTo import extended attributes from a SQLite database and apply them to files under a specific directory:
xattr-port import --dir /path/to/your/directory --db /path/to/your/xattrs.db