Re: tar
Well..... it worked FUNNY.
$ tar --exclude Kraftwerk-Spacelab.mp3 -cf - . | (cd ../temp/ && tar xvfp -)
./
./Kraftwerk - Metropolis.mp3
./Kraftwerk - The Telephone Call.mp3
./Kraftwerk-The_Man_Machine.mp3
./Kraftwerk-airwaves.mp3
./--exclude
$ ls
--exclude Kraftwerk-Spacelab.mp3
Kraftwerk - Metropolis.mp3 Kraftwerk-The_Man_Machine.mp3
Kraftwerk - The Telephone Call.mp3 Kraftwerk-airwaves.mp3
$ ls -l
total 57947
-rw-rw-r-- 1 sarnold sarnold 32368640 Sep 26 23:26 --exclude
-rw-r--r-- 1 sarnold sarnold 5752188 Aug 30 05:22 Kraftwerk - Metropolis.mp3
-rw-r--r-- 1 sarnold sarnold 6737316 Aug 30 05:22 Kraftwerk - The Telephone Call.mp3
-rw-r--r-- 1 sarnold sarnold 5626148 Aug 30 05:22 Kraftwerk-Spacelab.mp3
-rw-r--r-- 1 sarnold sarnold 5249985 Aug 30 05:22 Kraftwerk-The_Man_Machine.mp3
-rw-r--r-- 1 sarnold sarnold 3362273 Aug 30 05:22 Kraftwerk-airwaves.mp3
See that file "--exclude" ? Wierd voodoo. All the same, it didn't copy
Kraftwerk-Spacelab.mp3.
Hmm.
On Sun, Sep 26, 1999 at 11:27:44PM -0700, George Bonser wrote:
>
> On 27-Sep-99 Seth R Arnold wrote:
> >>From man tar:
> >
> > --exclude FILE
> > exclude file FILE
> >
> > -X, --exclude-from FILE
> > exclude files listed in FILE
> >
>
> Can you verify that this actually works? I tried it a couple of weeks ago and
> it seemed to include the files I excluded anyway.
>
>
> ----------------------------------
> E-Mail: George Bonser <grep@shorelink.com>
> Date: 26-Sep-99
> Time: 23:25:54
>
> This message was sent by XFMail
> ----------------------------------
--
Seth Arnold | http://www.willamette.edu/~sarnold/
Hate spam? See http://maps.vix.com/rbl/ for help
Hi! I'm a .signature virus! Copy me into
your ~/.signature to help me spread!
Reply to:
- References:
- Re: tar
- From: Seth R Arnold <sarnold@willamette.edu>
- Re: tar
- From: George Bonser <grep@shorelink.com>