tar .vs. cpio - (nf)
Barry Margolin
barmar at mit-eddie.UUCP
Mon Aug 13 09:46:41 AEST 1984
In article <226 at haddock.UUCP> johnl at haddock.UUCP writes:
> - reading file names from stdin is a feature, not a bug. You can use
> find to enumerate just the files you want rather than having to dump
> everything in a directory tree, e.g.
>
> $ find somedir -mtime -14 -print | cpio -oB >/dev/rmt0
>
> (dump only files modified within the last two weeks.) Doing this
> with tar is pretty hard.
It isn't really very hard:
tar <options> `find ...`
Accepting file names on the command line is the Unix convention.
Note that I have no real opinion on the debate. I have only used tar so
far.
In response to someone's mention of "tp", the predecessor to "tar": it
is still available in 4.2BSD.
--
Barry Margolin
ARPA: barmar at MIT-Multics
UUCP: ..!genrad!mit-eddie!barmar
More information about the Comp.unix
mailing list