tar --exclude not working
Mohankumar Periasami
karthikexa@gmail.com
Mon Feb 12 15:18:00 GMT 2007
Experts,
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:/" its not working
as expected.
The command used is,
tar tf test.tar --anchored --exclude="D:/"
and if the command is changed to,
tar tf test.tar --anchored --exclude="Bkp" then its working fine. It
seems the --exclude is not working properly if the pattern starts with
windows drive letter. The same thing is working fine for inclusion
patterns.
tar tf test.tar --anchored "D:/" (working fine)
Is this a bug? Can it be worked atound?
Please throw light on this..
Thanks in Advance,
Mohankumar
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list