On Monday 27 April 2009, Joerg Schilling wrote:
> Mick <michaelkintz...@gmail.com> wrote:
> > This has puzzled me too.  Is there a way of passing the equivalent of
> > tar's --exclude <file_pattern> at star, rather than a file containing a
> > list of files to be excluded?  I have been reading the -F,-FF ... but
> > have failed to understand it so far  :(
>
> Tar has no --exclude option.
>
> You may be talking about a program that is not really tar compatible and
> that is called gtar ;-)

Fair enough ...

> Star has a pat= option since more than 20 years.

Is this a matter of running something like -V -pat=/sys ?

> In any case, if you like to make incremental backups, you should be very
> careful with exclude options as incremental restore it cannot work if an
> exclude file is renamed into the non-excluded universe.

Good point, but something like /proc /sys and friends will stay the same, 
right?

> > Also, what happens if you run star to archive a directory that contains
> > man & info files?  I have run this on a CentOS machine and I think I had
> > to abort because it was taking for ever and the size of the archive had
> > already grown to twice the size of a tar archive ... (not sure if it was
> > related to me
>
> Star does not go into infinite loops as long as your filesystem is not
> broken.

What!  RHEL?  Ha, ha!

I don't know if it went into a loop.  The way that the archive size was 
growing I guessed that star was trying to unpack all the .gz man pages.  I'll 
remember to try -xstar next time to see if it makes a difference.  However, 
as you say there were some errors about missing attributes and what not 
(can't recall off hand).
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to