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

Re: excluding files w/ tar



Winston Smith wrote:
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.

`./*' wouldnt include (or exclude) `./.*' files where `.' would.


Winston




Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: