[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Avoiding multiple entries with the same name
From: |
Sergey Poznyakoff |
Subject: |
Re: Avoiding multiple entries with the same name |
Date: |
Thu, 17 Dec 2020 16:14:45 +0200 |
Hi Stefan,
> Now, in practice it seems not to cause any problem, but I was wondering
> is there was a way to remove this duplicate entry?
No, so far there is not.
> It also made me wonder if there'd be a way to use `--transform` in order
> to *remove* (rather than rename) an entry (e.g. by renaming it to an
> "impossible" name)?
That could be implemented. The "impossible" name can be just empty
name, which tar should take as an instruction to skip the file. I'll
try to implement this. Thanks for the idea!
Regards,
Sergey