Xref: utzoo comp.sources.d:2239 comp.unix.questions:7427
Path: utzoo!attcan!uunet!mcvax!mhres!jv
From: jv@mhres.mh.nl (Johan Vromans)
Newsgroups: comp.sources.d,comp.unix.questions
Subject: Re: cpio/afio writing directories?
Message-ID: <1909@mhres.mh.nl>
Date: 5 Jun 88 13:41:21 GMT
References: <23@libove.UUCP>
Distribution: comp
Organization: Multihouse NV, the Netherlands
Lines: 23

From article <23@libove.UUCP>, by root@libove.UUCP (The Super User):
> 
> I'm using afio (operationally very like cpio, for those who've never
> seen afio; if you use cpio and don't have afio, get afio!) ...
                                                  ^^^^^^^^
Where & how?

> My question: How do I tell afio/cpio that 
> 
> % echo '/x /y /z' | afio -o
> 
> means /x /y /z and all subfiles also?

Use 'find' instead of echo:

 % find /x /y /x -print | afio -o

See find(1).

-- 
Johan Vromans                              | jv@mh.nl via European backbone
Multihouse N.V., Gouda, the Netherlands    | uucp: ..{uunet!}mcvax!mh.nl!jv
"It is better to light a candle than to curse the darkness"