Current idea is to output following tab-separated columns:
mode in textual form,
owner,
group,
modification time full-iso-style (+%F %T.%N %z),
path,
xattr name=value.
If file have extended attributes, then each attribute name and its value will be shown on new line in 6th column (xattr) with only 5th column (path) not cleared. Value will be shown as text in quotes if all bytes are within 32-126 range or as hex prefixed with 0x otherwise. Example:
Path order will be undefined. But you'll be able pipe output to LC_ALL=C sort -t $'\t' -k5 (if you don't have bash/zsh, then replace $'\t' with literal tab in quotes).
By default dump should use existing metastore file (typically .metadata), as it was shown in above example, but it should be also able to dump metastore file that would be created if save action was used with given path. Example:
Dump action is meant only as a helpful debugging facility/merge conflict helper. Do not ever compare dumps taken using different metastore version. Do not rely on current output format (especially in batch scripts), because it may change in future without prior notice.
Output should be similar to:
Current idea is to output following tab-separated columns:
+%F %T.%N %z
),If file have extended attributes, then each attribute name and its value will be shown on new line in 6th column (xattr) with only 5th column (path) not cleared. Value will be shown as text in quotes if all bytes are within 32-126 range or as hex prefixed with
0x
otherwise. Example:Path order will be undefined. But you'll be able pipe output to
LC_ALL=C sort -t $'\t' -k5
(if you don't have bash/zsh, then replace$'\t'
with literal tab in quotes).By default dump should use existing metastore file (typically
.metadata
), as it was shown in above example, but it should be also able to dump metastore file that would be created if save action was used with given path. Example:Dump action is meant only as a helpful debugging facility/merge conflict helper. Do not ever compare dumps taken using different metastore version. Do not rely on current output format (especially in batch scripts), because it may change in future without prior notice.