So I have this workflow which works but is clumsy"
RSYNC to ultrapress.co
rsync -azP --delete /Users/rocketadmin/Sites/vagrant-local/www/wordpress-default/wp-content/themes firstname.lastname@example.org:/var/www/ultrapress.co/htdocs/wp-content/
rsync -azP --delete /Users/rocketadmin/Sites/vagrant-local/www/wordpress-default/wp-content/plugins email@example.com:/var/www/ultrapress.co/htdocs/wp-content/
Then REPAIR ownership
sudo chown -R www-data:www-data /var/www
I'd like to know what arguments to use in rsync so I don't have chown my www folder everytime I sync Thank you in advance for your guidance...