[Toybox] tar creating empty archive?

Rob Landley rob at landley.net
Fri Apr 18 09:10:19 PDT 2025


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.

Rob


More information about the Toybox mailing list