In "properties.ini" we can setup different servers for the symfony sync command:
name=myProject
[customer_1]
host=myapp.customer_1.com
port=22
user=customer_1
dir=/home/myaccount/myproject/
[customer_2]
host=myapp.customer_2.com
port=22
user=customer_2
dir=/home/myaccount/myproject/
It would be nice if we could setup or use rsync_exclude.txt the same way, so we can exclude different things for different servers. In my situation i have one project, which i deploy for many customers. Every costumer has it's own set of templates, in different folders.
For now i don't change anything in rsync_exclude.txt when i'm synchronizing one server, so every customer gets also all the template folders of the others. Thats not the best way, but better than remembering, which folders to exclude when synchronizing.
Michael