Export to GitHub

xar - issue #47

xar(1) should allow listing of arbitrary metadata from within the archive


Posted on Nov 6, 2007 by Grumpy Lion

One of the strengths of the xar format is its metadata capabilities. However, it's rather difficult to expose particular pieces of metadata at whim. (For instance, backup software would want the checksums for arbitrary files.) A quick hack is below, enough to allow me to get metadata with a bash util designed to keep archival backups.

Attachments

Comment #1

Posted on Nov 6, 2007 by Grumpy Lion

Oh, to expose metadata, the -v flag must be added to raise 'verbose' a level, due to the odd verbosity kludge in print_file().

Comment #2

Posted on Aug 19, 2008 by Happy Dog

I think it would be possible to do something like this with the existing include/exclude options when used with - t.

Status: New

Labels:
Type-Enhancement Priority-Medium