On 2 February 2011 18:55, Cathey, Jim <[email protected]> wrote: >>busybox refuses to play nicely with >> >>tar -cf test -T /dev/null >>or >>tar -cf test /dev/null >> >>so is there any other way to get there? > > As with all unixen there's always another way! > Once upon a time tar files were simple enough > that you could concatenate them. Perhaps that > is no longer true? You could experiment, then > compress the cat result later. > > An alternative: > > find . | tar zcfT outfile /proc/self/fd/0 >
Urgh! # find . -depth -print | pax -wd > outfile.tar That would be more portable (not all systems have /proc) Chris _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
