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

Re: File Exclusion



On Tue, Mar 16, 2010 at 01:31:57AM -0700, Colin Percival wrote:
> Matthias-Christian Ott wrote:
> > I just found that tarsnap mimics gtar's behaviour for excluding files.
> > It excludes a pathname if it contains a certain pattern, rather than
> > matching the entire pathname against the pattern.
> 
> Right, I decided that it would be less confusing if Tarsnap's handling
> of --exclude was the same as other tar utilities.  (Not just gtar --
> bsdtar and I believe star are the same.)
> 
> > Is it planed to change this?
> 
> Nope.
> 
> > Or would you at least add the option to
> > read a file list from a file or stdin (just like cpio does)?
> 
> You mean like "-T -" does?

I'm not sure, the man page says: "In c mode, tarsnap will read names
to be archived from filename."

When this means, behave like cpio -o, that's exactly what I was
looking for.

Regards,
Matthias-Christian