Re: tar ate my symlinks
On Mon, Mar 17, 2003 at 10:59:06AM -0800, Vineet Kumar wrote:
> * nate <debian-user@aphroland.org> [20030317 10:45 PST]:
> > Brian Victor said:
> > > I backed up my debian installation with the following:
> > >
> > > tar --preserve -cv / | ssh 192.168.2.10 'cat > linuxbackup.tar.bz2'
> >
> > may I ask why? I have never heard of someone attempting such
> > a task in that manor. I would say that the above is the source of
> > the problems. Checking tar's manpage reveals no mention of the
> > preserve option either. I just tested using tar -cvf making a tar
>
> I'll bet you got bitten by the manpage using hyphens in place of minus
> signs for options. (One of my big pet peeves...) Search for just
> /preserve/ instead of /--preserve/. It's there.
Bug filed, I hope? Man pages should be using "\-" rather than "-" for
the minus sign that appears in options, as you rightly observe. Nate
would have to be reading in a UTF-8 locale for it to matter, though.
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: