I have a /var/www directory which is a local copy of my web site. I want to copy only the .html files together with any sub-directories that contain .html files (retaining the directory structure), together with their files, into another directory.
I've tried various incantations involving 'find' and can only succeed in copying files from the base directory.
If someone can suggest a way to do this it would be very much appreciated. I really can't afford to lose much more hair.
Barry Samuels http://www.beenthere-donethat.org.uk The Unofficial Guide to Great Britain