bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] hard links and --transform


From: Wouter Verhelst
Subject: Re: [Bug-tar] hard links and --transform
Date: Thu, 19 Mar 2009 15:41:35 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Mar 19, 2009 at 01:27:48PM +0200, Sergey Poznyakoff wrote:
> Wouter Verhelst <address@hidden> ha escrit:
> > This works, but not for hardlinked member names. Consider the following:
> > 
> > hrwxr-xr-x root/root        0 2008-10-13 05:33 sbin/fsck.ext2 link to 
> > tmp/tmp.cZSZPbrxok/sbin/fsck.ext4
> 
> You may apply transformation rules to hardlink targets, by specifying
> the `h' flag:
> 
>   tar cvzf "$TARFILE" --transform "s,${basedir#/}/,,h" $basedir
> 
> This requires tar 1.21 or later.  See

Aha.

ii  tar            1.20-1         GNU version of the tar archiving utility

Guess I'll need to wait for that, then.

Thanks.

-- 
<Lo-lan-do> Home is where you have to wash the dishes.
  -- #debian-devel, Freenode, 2004-09-22




reply via email to

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