[lug] Appending a file to files

Glenn Murray gmurray at Mines.EDU
Tue Jan 16 08:23:58 MST 2001


Sorry if this is doubly posted, my first attempt
to send this didn't seem to make it to the list.

I want to append the file foo to all the files in
the bar directory tree.  Why doesn't this work?

find bar -exec cat foo >> {} \;

What does work? 

Thanks, 
Glenn






More information about the LUG mailing list