On Fri, May 11, 2001 at 12:51:43AM -0400, Jon LaBadie wrote:
> On Thu, May 10, 2001 at 08:41:24PM -0400, Ray Shaw wrote:
> > On that note, it is annoying that if I have an exclude
> > file, say /etc/amanda/exclude.home, running amanda with that file
> > produces different results than:
> >
> > tar cvf /dev/null /home -X /etc/amanda/exclude.home
>
> I don't think amanda tar's /home, I think it cd's to /home and
> tar's "." (current dir). Thus your exclude file should be
> relative to ".", not "/home".
Ah, yes, that's correct. Thanks for pointing that out; it was the
first step in creating the Tower of Globbing in my last post :)
For testing, I now use:
cd /home
tar cvf /dev/null . -X /root/exclude > moo
and then look at the contents of moo.
--
--Ray
-----------------------------
Sotto la panca la capra crepa
sopra la panca la capra campa