How can I exclude a folder from a command line backup

I’m doing a command line backup of the file system with bin/magento setup:backup --code, but I have one directory which contains a lot of large image files that I want to exclude. Is there a way to configure my file system backups to exclude a directory?