Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Aug 2002 16:15:54 +1000
From:      Mark.Andrews@isc.org
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        "Crist J. Clark" <cjc@FreeBSD.ORG>, freebsd-stable@FreeBSD.ORG
Subject:   Re: Tar not following links now? 
Message-ID:  <200208090615.g796Fsgs098419@drugs.dv.isc.org>
In-Reply-To: Your message of "09 Aug 2002 15:18:45 %2B0930." <1028872126.3108.5.camel@chowder.gsoft.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help

> On Fri, 2002-08-09 at 15:05, Crist J. Clark wrote:
> > The "new" behavior is the correct behavior. I'm not sure when or why
> > things were broken in your 4.6-PRERELEASE example. The option you want
> > is the '-h' option.
> 
> But that dereferences _all_ symlinks, not just ones on the command line.
> 
> I guess I really want -H (like du has).
> 
> I don't understand why it changed though.

	Say you have:

		link1 -> file1
		file1

	"tar c link1 file1" should preserve the symbolic link.

	Mark
> 
> -- 
> Daniel O'Connor software and network engineer
> for Genesis Software - http://www.gsoft.com.au
> "The nice thing about standards is that there
> are so many of them to choose from."
>   -- Andrew Tanenbaum
> GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews@isc.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208090615.g796Fsgs098419>