cpio/afio writing directories?
Bob Hoffman
hoffman at pitt.UUCP
Wed Jun 1 05:55:34 AEST 1988
In article <23 at libove.UUCP> root at libove.UUCP (The Super User) writes:
>... it seems that cpio/afio, unlike tar, require real file names,
>not just directory names...
Right. Tar knows how to traverse directories; afio does not. Afio
wants a complete path to each file. An excerpt from the afio manual page:
With -o, reads pathnames from the standard input and writes
an archive.
>My question: How do I tell afio/cpio that
>
>% echo '/x /y /z' | afio -o
>
>means /x /y /z and all subfiles also?
Echo is not what you want. Use this:
% find /x /y /z -print | afio -o
---Bob.
--
Bob Hoffman, N3CVL {allegra, bellcore, cadre, idis, psuvax1}!pitt!hoffman
Pitt Computer Science hoffman at vax.cs.pittsburgh.edu
More information about the Comp.unix.questions
mailing list