Okay so I have a website maintenance job to do today. Client has a FTP server with the website on. Fairly standard (albeit outdated) stuff.
I need to do a find-and-replace over most of the html files to change the navigation. To do that effectively, I'd need to do that locally.
The FTP server is full of rubbish. The guy has been using it to exchange files with his clients. I want to get a copy of all the relevant files but at the same time, I don't want to waste time downloading dozens gigabytes of stuff I'll never need.
The FTP is mounted in ~/.gvfs at the moment. Is there something quick and easy I can do to copy all the .html files out, keeping the directory structure so that when I'm done working on the files, I can just copy them back using merge/replace?

find . -type dandmkdir -p2) copy the files usingfind . -name '*.html'andcp. – Georg Schölly Nov 9 '10 at 16:01