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

Re: excluding files w/ tar



On Thu, Jun 02, 2005 at 11:08:15AM -0400, Winston Smith wrote:
> would be, for example, "./tmp/", not  "/tmp/".
> 
> Try putting ./tmp/* instead of /tmp/* and so on in /tmp/excludes, or, if you

My suggestion above  assumes you use
tar cv -X /tmp/excludes -p --atime-preserve ./* -- | ...
                                            ^^^
instead of 
tar cv -X /tmp/excludes -p --atime-preserve * -- | ...
                                            ^

./* -> .  would work too.

Winston




Reply to: