bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Tar's --xattrs | --selinux | --acls listing feature


From: Tim Kientzle
Subject: Re: [Bug-tar] Tar's --xattrs | --selinux | --acls listing feature
Date: Fri, 4 May 2012 20:52:37 -0700

On May 4, 2012, at 8:05 AM, Joerg Schilling wrote:

> Tim Kientzle <address@hidden> wrote:
> 
>> YAML would be reasonable, or JSON or XML.
>> I'm not very particular.
>> 
>> I would like to see a written proposal for such a format.
>> If it looks reasonable, we could easily add it to bsdtar
>> as well.
> 
> Are you talking about the listing format or about the archive format?

The listing format.

The NetBSD mtree format (the variant that puts the full
pathname as the first element of each line) is
machine-readable and relatively easy to extend, so that
would be another candidate.  (Of course, I'm partial to that
approach since bsdtar already implements it. ;-)  It also
has the advantage of using one line per file, which makes
it much easier to filter/edit with tools like grep and sed.

Tim




reply via email to

[Prev in Thread] Current Thread [Next in Thread]