Date:        Tue, 2 Jun 2020 16:14:20 +0200
    From:        Martin Husemann <mar...@duskware.de>
    Message-ID:  <20200602141420.ga5...@mail.duskware.de>

  | I would like to create directory hierachies from mtree spec files, but
  | restrict this to selected hierachies (where the mtree files contain a
  | bit more).

Seems like that rather than add more complexity to mtree, the answer
here is just to use a different mtree spec file.

That is, something like

  grep whatever original-spec-file [ | grep otherstuff ]... >/tmp/temp-spec
  mtree -f /tmp/temp-spec

If a change/addition to mtree is desirable, IMO, it would be to
allow "-f -" so the temp file isn't needed (just read spec from stdin).

kre

Reply via email to