bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Cannot: extract a member reliably with possible leading do


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] Cannot: extract a member reliably with possible leading dot-slash
Date: Wed, 12 Dec 2018 07:31:41 +0200

Viktor Sergiienko <address@hidden> ha escrit:

> > $ tar tvf archive1.tar
> > -rw-r--r-- root/root 567 2016-09-18 14:28 member1
> > -rw-r--r-- root/root 1696 2016-09-18 14:28 member2
> > $ tar tvf archive2.tar
> > -rw-r--r-- root/root 567 2016-09-18 14:28 ./member1
> > -rw-r--r-- root/root 1696 2016-09-18 14:28 ./member2
> >
> > How to extract member1 reliably from either of two archives?

Use the --no-anchored option.

Regards,
Sergey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]