gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] Re: Re: DARCS


From: Jan Hudec
Subject: Re: [Gnu-arch-users] Re: Re: DARCS
Date: Tue, 9 Sep 2003 20:13:31 +0200
User-agent: Mutt/1.5.4i

On Tue, Sep 09, 2003 at 11:20:16 +0100, Bruce Stephens wrote:
> Jan Hudec <address@hidden> writes:
> 
> > On Mon, Sep 08, 2003 at 23:23:07 +0100, Stig Brautaset wrote:
> >> > > A tool like "cvs export" would probably a good thing though.
> >> 
> >> tla inventory --source foo | tar czf foo.tgz -T -
> >>
> >> Works to a certain degree. It fails if you have empty source
> >> directories, for one.
> >  
> > tla inventory --both --source foo | tar czf foo.tgz -T -
> >
> > This should include directories in the listing
> 
> I don't think you can tar a directory without getting its contents.

Yes, you can. But my original command was wrong -- --no-recursion option
must be specified to tar. So it would be:

tla inventory --both --source foo | tar --no-recursion -czf foo.tgz -T -

-------------------------------------------------------------------------------
                                                 Jan 'Bulb' Hudec 
<address@hidden>




reply via email to

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