On Thu, Jan 10, 2002 at 08:57:03AM -0600, Dave Dykstra wrote: > On Wed, Jan 09, 2002 at 10:34:23PM -0800, Harry Putnam wrote: > > > > What is the necessary syntax to exclude a file named #notes# from an > > action? > > > > I've tried these without success: > > > > #* > > "#*" > > #notes# > > "#notes#" > > \#notes\# > > The man page says lines beginning with # in an --exclude-from file are > ignored. You could use --exclude "#from#" on the command line, or you could > do something that would remove the '#' from the first character in an > exclude-from file. Quotes and backslashes are not recognized in the file. > You could try '*#notes#', or if the file is at your top level directory you > could use '/#notes#'.
Oh yeah, Rusty's posting reminded me of another possibility; these two together should be completely equivalent to the command line --exclude '#notes#': /#notes# /**/#notes# - Dave