FTP Backup Site minus one directory

rhand asked:

I am backing up a site including a huge cache folder use SFTP (FileZilla).I do not really need to backup the wp-cache directory, but do not want to get rid off it either atm.
Is there a way to use (S)FTP or SCP to backup / copy a site with all files and folders minus one folder and its content? I can really live without a backup of the cache folder and it would save me a lot of time if I could backup the site without that directory.

My answer:

Try using a filename filter in FileZilla.

Other FTP/SFTP clients may have similar functionality.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.