Using FileZilla - Filename filters
I often provide web support for our clients. One of the first things I do for a new client is to pull down all of the files for the site and import them into Subversion. Often I find directories littered with backup files and lazy man version control (files copied and renamed with the date changed). I am only interested in pulling down the files used by the site.
To avoid hand picking the files I found the “Filename filter” feature in FileZilla. It allows you to specify a regular expression filter. Then you can drag-and-drop the entire root folder structure and only download the files that you are interested.
Here is a sample filter for a basic site:
.+\.(html|htm|css|js|jpg|png)$
You can use the “Filter conditions” option to reverse the filter and pull down all the junk files if you want to archive them.
