exclude option for tar
I'm having trouble getting this to work:
96 8:22 tar cvf /Vol /U1/bills.filtered.tarfile.tar --exclude '*.doc' ./*
97 8:23 tar cvf /Vol /U1/bills.filtered.tarfile.tar --exclude '\*\.doc' ./*
98 8:24 h
99 8:25 tar cvf /Vol /U1/bills.filtered.tarfile.tar --exclude '*.doc' ./*
100 8:27 tar cvf /Vol /U1/bills.filtered.tarfile.tar --exclude *.doc ./*
101 8:27 tar cvf /Vol /U1/bills.filtered.tarfile.tar --exclude=*.doc ./*
None of these have the desired effect of excluding .doc files... what am I
doing wrong?
Thanks
Bill
G4 Laptop, Mac OS X (10.4.11)