[Toybox] tar creating empty archive?

Hong, Yifan elsk at google.com
Fri Apr 18 11:00:08 PDT 2025


On Fri, Apr 18, 2025 at 9:10 AM Rob Landley <rob at landley.net> wrote:
>
> On 4/17/25 20:28, Rob Landley wrote:
> >> As a reference, GNU tar 1.35 does the following:
> >>
> >> # This fails
> >> $ tar czf out.tar.gz
> >> tar: Cowardly refusing to create an empty archive
> >>
> >> # This succeeds
> >> $ tar czf out.tar.gz -T /dev/null
> >
> > I didn't know there was a distinction between them.
>
> Try commit 66fabe6c3101.

Thanks for the quick response! Yeah I think this should work.

>
> Rob


More information about the Toybox mailing list