Re: tar --exclude not working

2007-02-14 Thread Christopher Faylor
On Wed, Feb 14, 2007 at 02:52:53PM +, Eric Blake wrote: >> I'm using tar (GNU tar) 1.16.1 and have an archive with the following >> entries. >> Files/report1.html >> Files/report2.html >> Files/report3.html >> Files/report4.html >> D:/Bkp/sol/ >> D:/Bkp/sol/test1.pl >> D:/Bkp/sol/test2.pl >> D

Re: tar --exclude not working

2007-02-14 Thread Eric Blake
> I'm using tar (GNU tar) 1.16.1 and have an archive with the following entries. > Files/report1.html > Files/report2.html > Files/report3.html > Files/report4.html > D:/Bkp/sol/ > D:/Bkp/sol/test1.pl > D:/Bkp/sol/test2.pl > D:/Bkp/sol/test3.pl > > Whenever, I try to exclude files starting with "D

Re: tar --exclude not working

2007-02-14 Thread Ken Shaffer
tar tf test.tar --anchored --exclude="D:/" temp$ tar tf tartest.tar -P c:/temp/file1 file2 temp$ tar tf tartest.tar -P --anchored --exclude='/temp' file2 So, if you really want to exclude your D:/Bkp files, you could enter: tar tf test.tar --anchored --exclude='/Bkp' The -P option used on m