|
From: | Sergey Poznyakoff |
Subject: | Re: [Bug-tar] Unpacking a tar with a "./" entry changes dir timestamp and maybe ownership too |
Date: | Mon, 16 Aug 2010 11:31:56 +0300 |
Hugo Mildenberger <address@hidden> ha escrit: > I've found no way to stop tar from expanding the "./" entry. Use either tar --strip=1 -xf some-archive.tar or tar -xf some-archive.tar --no-wildcards --no-recursive --exclude . To avoid storing '.' in the archive use: find . -not -name '.' | tar cfT some-archive.tar - Regards, Sergey
[Prev in Thread] | Current Thread | [Next in Thread] |