[Chicago-talk] Merging two dir's into a third
Steven Lembark
lembark at wrkhors.com
Wed Feb 18 17:20:05 CST 2004
-- Don Drake <don at drakeconsult.com>
> However, my example will return 0 if the disk fills, because the command
> "tar cvf - *" was successful, and the rest of the commands were piped and
> failed.
>
> Wrapping the entire line in parentheses "(tar cvf - * | (cd ../dirc; tar
> xvf -) )" would fix that.
Or using "find . | cpio -pdv". This is a bit more
effecient also because you don't need to encode and
decode the file or move it over the pipe through
kernel buffers.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 888 359 3508
More information about the Chicago-talk
mailing list