Re: excluding files w/ tar (retraction)

2005-06-03 Thread Winston Smith
On Thu, Jun 02, 2005 at 11:48:00PM -0400, Winston Smith wrote: > One way to test exclude patterns is with > > tar -c --exclude=pattern includedirectorys | tar -t - > > Unfortunately, I didn't run such a test before responding to the > original poster, and now that I have I would like to retrac

Re: excluding files w/ tar (retraction)

2005-06-02 Thread Winston Smith
One way to test exclude patterns is with tar -c --exclude=pattern includedirectorys | tar -t - Unfortunately, I didn't run such a test before responding to the original poster, and now that I have I would like to retract my previous posts on the subject. Sorry! The examples below show that t

Re: excluding files w/ tar

2005-06-02 Thread Winston Smith
On Fri, Jun 03, 2005 at 09:48:09AM +0800, Robert Vangel wrote: > `./*' wouldnt include (or exclude) `./.*' files where `.' would. Good catch. Thanks. Winston -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: excluding files w/ tar

2005-06-02 Thread Alvin Oga
On Thu, 2 Jun 2005, Winston Smith wrote: > My suggestion above assumes you use tar cv -X /tmp/excludes -p > --atime-preserve ./* -- | ... > ^^^ instead of tar cv -X > /tmp/excludes -p --atime-preserve * -- | ... its supposed to be tar cf menas you

Re: excluding files w/ tar

2005-06-02 Thread Robert Vangel
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 ./

Re: excluding files w/ tar

2005-06-02 Thread Winston Smith
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 ./* -- | ...

Re: excluding files w/ tar

2005-06-02 Thread Winston Smith
On Wed, Jun 01, 2005 at 11:00:18AM -0700, Cameron Matheson wrote: > Hi everyone, > > i'm trying to back up an old suse box so that i can > clear it off and install debian. anyway, i want to > tar up basically everything (except for the obvious > stuff like proc, /tmp/, /dev, etc.) so i've made an

excluding files w/ tar

2005-06-01 Thread Cameron Matheson
Hi everyone, i'm trying to back up an old suse box so that i can clear it off and install debian. anyway, i want to tar up basically everything (except for the obvious stuff like proc, /tmp/, /dev, etc.) so i've made an excludes file: $ cat /tmp/excludes /tmp/* /dev/* *oldstuff* /proc /var/tmp/*